+ 1

Please guys Why am i getting two wrong in CHEER here's my code

team_score = int(input()) if team_score < 1: print ('Shh') elif team_score > 1 and team_score <= 10: print ('Ra!' * team_score ) elif team_score > 10: print ('High Five') else: print ('Invalid input' )

8th Aug 2020, 7:20 AM
Eleojo Emmanuel Adegbe
Eleojo Emmanuel Adegbe - avatar
3 Answers
+ 1
Your code is displaying "Shh" with a capital "S" ideally according to the question that should be "shh". Here is the fix👇 https://code.sololearn.com/cdVDq3Nj4M1X/?ref=app
8th Aug 2020, 7:38 AM
Arsenic
Arsenic - avatar
+ 2
Thanks man. Didn't think it mattered but obviously it does.
9th Aug 2020, 6:35 AM
Eleojo Emmanuel Adegbe
Eleojo Emmanuel Adegbe - avatar
+ 1
Case input = 1 is missing in codes... May cause test fail.. Output should be " Ra!" for 1
8th Aug 2020, 8:04 AM
Jayakrishna 🇼🇳