+ 1

I always get an error when I code a if, else statement. may I know what I'm doing wrong??

age=int(input("enter your age")) if age>19 print (welcome) else: print (you are underage)

12th Sep 2020, 12:48 PM
Anonymous
Anonymous - avatar
2 Answers
+ 1
~ swim ~ Now I got it. Thank you!
12th Sep 2020, 1:31 PM
Anonymous
Anonymous - avatar
0
~ swim ~ sorry. Now i have edited the question
12th Sep 2020, 1:17 PM
Anonymous
Anonymous - avatar