+ 1
I dont know whats wrong with it... please help
ans=input("are u a lady?") age=int(input()) If (ans=="yes" and age>=18 and age<=30): print("hi, pretty girl") else print("88") Is there any problems with line3??
2 Answers
+ 3
It is "if", not "If".
Check the indentation of the print()
after "else" the ":" is missing
0
Thank you very much