Codename: Python
Wednesday, August 21, 2019
Math Quiz
Guess = int(input("What is 2 X 7?"))
if Guess == 2*7:
print(str(Guess) + ' is correct!')
else:
print('You said ' + str(Guess) + '. I got ' + str(2*7))
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment