I was to write a Sample program to get Two number from user next if Two number is Same print this (Your number is Same) and elif the first number is equls and more than 10 Print this (This number is more than 10) and else all print(This number is not Same like this :
number1 = int(input('Please enter your number' :))
number2 = int(input('Please enter your number again :'))
if number1 == number2 :
print('THIS NUMBER IS SAME')
elif number1 >= 10 :
print('This number is more than 10')
else :
print('This number is not same')
When I want to run this program and Debuuging with it I was Getting this Error like this :
line 1
number1 = int(input('Please enter your number' :))
^
SyntaxError: invalid syntax
Please dont Delete My Problem Thank you Very much
New contributor
B k is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1