+ 1
Who can tell me what is wrong with my cheer creator challenge
3 Answers
+ 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)
+ 3
yards = int(input())
if yards > 10 :
print('High five')
if yards <= 10:
print('shh')
if yards <= yards + 1:
print('Ra!'*yards)
+ 1
Ok thanks