+ 1
How can I solve cheer creator
I got the first, second fourth and fifth case but didn't get the third case. I'm using python. Attempt: https://code.sololearn.com/c85m25f0EjFG/?ref=app
7 ответов
+ 4
I found out my mistake. Instead of High Five I typed High five.
+ 3
You should have typed High Five
+ 1
Please send your code
+ 1
Insert your code so we can fix the error
+ 1
First there is a case that you don't need bcz there is just 3 cases (if elif and else ) i don't see why you use four cases
yeard= int(input(''))
if yeard<1 :
print('shh')
elif 1<=yeard<=10:
print('Ra!'*yeard)
else:
print("High Five")
Check it now
Check this now
0
Has reduced statments https://code.sololearn.com/c0yCr565EZMC/?ref=app
But your code working well at all