Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

par e impar pygame

import sys

a = int(sys.argv[1])

if a % 2 == 0:
    print('El número', a, 'es par.')
else:
    print('El número', a, 'es impar.')
Source by www.linuxhispano.net #
 
PREVIOUS NEXT
Tagged: #par #impar #pygame
ADD COMMENT
Topic
Name
2+9 =