+ 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' )
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
+ 2
Thanks man. Didn't think it mattered but obviously it does.
+ 1
Case input = 1 is missing in codes...
May cause test fail..
Output should be " Ra!" for 1