0
Can any one corrcet this code?
age = 0 while age < 50: age +=1 if age==1: print (" the first birthday for you") elif age==7: print ("school entry") elif age ==18: print ("teenager") elif age == 25: print ("university entrance") elif age ==28: print (" find a jab") elif age == 35: print ("work hard") elif age == 45: print ("old person")
3 odpowiedzi
0
age = 0
while age < 50:
age +=1
if age==1:
print ("The first birthday for you")
elif age==7:
print ("school entry")
elif age ==18:
print ("teenager")
elif age == 25:
print ("university entrance")
elif age ==28:
print ("Find a job")
elif age == 35:
print ("work hard")
elif age == 45:
print ("old person")
indent error
0
Yes they dont line up correctly. U need to pay attention to that.
https://code.sololearn.com/cPV0UkzUi6Ll
0
Thank you