What's wrong with this code?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
8th Oct 2020, 11:21 AM
M. Abdullah Al Mahi
M. Abdullah Al Mahi - avatar
3 Answers
0
add equal sign since even 10 is included elif int(yards) >=1 and int(yards)<=10:
8th Oct 2020, 11:29 AM
Ruba Kh
Ruba Kh - avatar
+ 1
There is no condition for value equal 10 You have <10 and >10 So 10 it self is not valid Is this your issue?
8th Oct 2020, 11:30 AM
Coding Cat
Coding Cat - avatar
0
Thanks
8th Oct 2020, 11:32 AM
M. Abdullah Al Mahi
M. Abdullah Al Mahi - avatar