Avatar ·

How to check the number for parity?

📁 python

I understand what must be divided into 2 and look at the remainder. Here's what I tried to do.

   IF  ( not  line% 2  2  ):   print   'chek true'