+ 1

Cheer Creater Code coach problem

My code is passing 4/5 test cases.I am unable to figure out what's the issue. Here's my code: yards=int(input()) if yards<1: print("shh") elif yards<=10: cheer='Ra!' print(cheer*yards) elif yards>10: print("High five")

22nd Jan 2022, 5:57 PM
Harshit Upadhyay
Harshit Upadhyay - avatar
3 Answers
+ 2
"High Five" Spelling mistake. Capital F needed edit : √√
22nd Jan 2022, 6:06 PM
Jayakrishna 🇮🇳
+ 1
Jayakrishna🇮🇳 oh yeah capital F.... Thanks 😊..... no 2nd case will be same cause they clearly said if they move 10 yards or less, then "Ra!"*n.
22nd Jan 2022, 6:13 PM
Harshit Upadhyay
Harshit Upadhyay - avatar
+ 1
You are welcome..Harshit Upadhyay Oh. Yes. I read it in reverse. you made it 3rd case actually.. My mistake.
22nd Jan 2022, 6:26 PM
Jayakrishna 🇮🇳