+ 1

Who can tell me what is wrong with my cheer creator challenge

12th Jan 2021, 11:28 AM
Motuncoded
Motuncoded - avatar
3 ответов
+ 4
if yard > 10: print('High Five') And another thing, (1) "shh" should be printed if yards is less than 1, in other words, the opponent is advancing. (2) "Ra!" condition should be >=1 and <=10. yards = int(input()) if yards > 10: print('High Five') if yards < 1: print('shh') if yards <= 10 and yards >= 1: print('Ra!'*yard)
12th Jan 2021, 11:32 AM
noteve
noteve - avatar
+ 3
yards = int(input()) if yards > 10 : print('High five') if yards <= 10: print('shh') if yards <= yards + 1: print('Ra!'*yards)
12th Jan 2021, 11:28 AM
Motuncoded
Motuncoded - avatar
+ 1
Ok thanks
12th Jan 2021, 11:50 AM
Motuncoded
Motuncoded - avatar