0
What is error her
https://code.sololearn.com/ciMb86yfGnDV/?ref=app I am getting error here please help me😭😩😭😩😭😩
5 Answers
+ 4
There is no indentation after elif
Like this
Elif:
Do something
Not
Elif:
Do something
+ 2
Indentation error.
Check the highlighted note here:
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2277/
0
https://code.sololearn.com/c7LcX1BxrFfD/?ref=app
0
There is your correction Kavya Mittal
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