0
Plz help me. Is there something wrong with this code? And if you, plz send me the code.
print (" what is your age ") inp(input(<= 18)) true print (" you can have a license ") false print ("u cant have a licence")
4 Answers
+ 6
Your code has no logic. Complete sololearnâs python course before making codes.
+ 5
A correction of your code might be this:
age = int(input(âWhat is your age? â))
if (age >= 18):
print(âYou can have a licenseâ)
else:
print(âYou canât have a licenseâ)
+ 2
I repeat, complete sololearnâs python course before asking everything
+ 2
Thanks bro