+ 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 :

4th Nov 2016, 4:34 PM
code-junkie
code-junkie - avatar
7 odpowiedzi
+ 1
it's says there is a problem with line 10
4th Nov 2016, 4:46 PM
code-junkie
code-junkie - avatar
+ 1
what's the question?
4th Nov 2016, 11:45 PM
Joseph
Joseph - avatar
+ 1
use || for OR ...&& for AND
4th Nov 2016, 11:46 PM
Joseph
Joseph - avatar
0
put ) in front of plane
4th Nov 2016, 5:54 PM
Alabi Oyewumi Emmanuel
Alabi Oyewumi Emmanuel - avatar
0
Thanks soo much
4th Nov 2016, 9:19 PM
code-junkie
code-junkie - avatar
0
emmanuel
4th Nov 2016, 9:19 PM
code-junkie
code-junkie - avatar
0
use && for and and remove the () they are extea
5th Nov 2016, 11:56 AM
Eragon Dragoneel
Eragon Dragoneel - avatar