0

What is error her

https://code.sololearn.com/ciMb86yfGnDV/?ref=app I am getting error here please help međŸ˜­đŸ˜©đŸ˜­đŸ˜©đŸ˜­đŸ˜©

30th May 2020, 10:56 AM
Kavya Mittal
Kavya Mittal - avatar
5 Respostas
+ 4
There is no indentation after elif Like this Elif: Do something Not Elif: Do something
30th May 2020, 10:58 AM
Abhay
Abhay - avatar
+ 2
Indentation error. Check the highlighted note here: https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2277/
30th May 2020, 11:03 AM
Harsh
Harsh - avatar
0
https://code.sololearn.com/c7LcX1BxrFfD/?ref=app
30th May 2020, 11:42 AM
KATEREGGA ASHIRAF
0
There is your correction Kavya Mittal
30th May 2020, 11:43 AM
KATEREGGA ASHIRAF
0
Age = int(input("Write your age\n")) if Age <=12: print("You are Kid") elif Age <=19: print("You are teen ;)") elif Age >= 20: print ("You are adult :) ") else: print('You silly XD') print("———————————————————————————————————————————————") You just don't need to specify every range you just specify the upper one I guess you used "and" in conditions which created error
1st Jun 2020, 2:54 AM
Sagun Karki
Sagun Karki - avatar