+ 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
3 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
0
RB12
18th Feb 2024, 11:16 PM
RIDHA “RIDHA BOUAKKAZ107” BOUAKKAZ
RIDHA “RIDHA BOUAKKAZ107” BOUAKKAZ - avatar