Just a quick fix in my basic code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Just a quick fix in my basic code

Hi guys, i have this basic code to solve one of the problems in the module of python and idk why it doesnt pass all the tests.. If anyone can help me please!! https://code.sololearn.com/c316M0l7KNzi/?ref=app

17th Feb 2021, 3:25 AM
Ulises
Ulises - avatar
3 Answers
+ 4
Just a small bug: "Overweight" instead of "Overweigth" [ Additional ] Btw, there is a way to shorten else if by using elif keyword. if condition: # some code elif condition: # some code ...
17th Feb 2021, 3:32 AM
noteve
noteve - avatar
+ 1
Thanks.. i feel so dumb rn
17th Feb 2021, 3:34 AM
Ulises
Ulises - avatar
+ 1
Yeah, i remember that after writing it all xD thanks for the help and the recommendation!
17th Feb 2021, 3:35 AM
Ulises
Ulises - avatar