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