¿Cómo verificar si un número es par?
📁 python
Entiendo que hay que dividir por 2 y mirar el resto. Esto es lo que intenté hacer.
if ( not line % 2 ): print ( 'chek true' )
ProgerLib Python para todos
📁 python
Entiendo que hay que dividir por 2 y mirar el resto. Esto es lo que intenté hacer.
if ( not line % 2 ): print ( 'chek true' )