How to check the number for parity?
📁 Python
Ich verstehe, dass man durch 2 teilen und den Rest betrachten muss. Hier ist, was ich versucht habe zu tun.
if (not line % 2): print 'chek true'
ProgerLib Python für alle
📁 Python
Ich verstehe, dass man durch 2 teilen und den Rest betrachten muss. Hier ist, was ich versucht habe zu tun.
if (not line % 2): print 'chek true'