Par ou Impar

by marianaromao on March 10th, 2010
No notes
Syntax: Python
Show lines - Hide lines - Show in textbox - Download
num = input("Digite num")
if num % 2 == 0:
    print "Numero eh par"
else
    print "Numero eh impar"

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS