- Code: Select all
#Write a program that asks for two numbers. If the sum of the numbers is greater than 100, print "That is a big number."
print("I want two numbers...")
number1 = int(input("First number: ")
number2 = int(input("Second number: ")
if number1 + number2 > 100:
print('That is a big number.")
For whatever reason, I get a syntax error when I try to run this program. I saved everything in the proper format (.py) and have no idea why this program fails to run. This is the error message:
Any help would be greatly appreciated! Thank you.