Why the test case 4 is declaring this a wrong code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why the test case 4 is declaring this a wrong code?

https://code.sololearn.com/cHGU3U8vJ3b1/?ref=app

23rd Nov 2020, 2:29 PM
NiTESH
NiTESH - avatar
3 Answers
+ 4
"Over" 10 yards -> 'high five'. "10 yards or less" -> 'Ra!' At least one yard -> 'shh'. Change your condition according to above and it'll work. Happy Coding!
23rd Nov 2020, 2:36 PM
Mouli
Mouli - avatar
+ 4
You're welcome!
23rd Nov 2020, 3:01 PM
Mouli
Mouli - avatar
+ 1
Thank you Minho 🇰🇷 for help I was almost lost because of that slightly different condition 🤣
23rd Nov 2020, 2:59 PM
NiTESH
NiTESH - avatar