by CodeChum Admin
I'm quite into games now, so how about we play In or Out! When a given number is even, the team scores so we shall print "In", but if it's not an even number, then we print "Out". Simple, right?
Now let's get this game started.
num = int(input("Input number: "))
if num % 2 == 0:
print("In")
else:
print("Out")
Comments
Leave a comment