Alex just got a new hula hoop, he loves it but feels discouraged because his little brother is better than him. Write a program where Alex can input (n) how many times the hoop goes round and it will return him an encouraging message:
My code:
def hoop_count(n):
if n >= 10:
return "Great, now move on to tricks"
else:
return "Keep at it until you get it"
def hoopCount(n):
return "Keep at it until you get it" if n<10 else "Great, now move on to tricks"