+ 1
Can anyone help
age = 21 if age > 16 : print("you are old enough to drive") else : print("you are not old enough to drive") if age >=21 : print("you are old enough to pilot a plane" elif age >=16: print("you are old enough to pilot a plane") else : print("you are not old enough to pilot a plane") if ((age >= 1) and (age <= 18)): print("you get a birthday") elif (age == 21) or (age >= 65): print("you get a birthday") elif not(age == 30): print("you dont get a birthday") else :
7 odpowiedzi
+ 1
it's says there is a problem with line 10
+ 1
what's the question?
+ 1
use || for OR ...&& for AND
0
put ) in front of plane
0
Thanks soo much
0
emmanuel
0
use && for and and remove the () they are extea