+ 2
What is the error in my code (cheer creator)?
def fun(n): if n>10: return(("a high five")) elif 0<n<=10: return(n*('Ra!')) else: if n<1: return('shh') n=int(input()) print(fun(n))
3 Réponses
+ 2
return(("High Five"))
#Instead
#return(("a high five"))
+ 6
Task
Given the number of yards that your team moved forward, output either 'High Five' (for over 10), '
+ 1
3rd condition not a setisfied in cheer creator code coach