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 :) 

-If Alex gets 10 or more hoops, return the string "Great, now move on to tricks".

-If he doesn't get 10 hoops, return the string "Keep at it until you get it".

Difficulty: introductory

Starter code:

def hoop_count(n):
	

Solutions:
def hoop_count(n):
    return "Keep at it until you get it" if n <10 else "Great, now move on to tricks"

def hoop_count(n):
    if n < 10:
        return("Keep at it until you get it")
    else:
        return("Great, now move on to tricks")


def hoop_count(n):
    return "Great, now move on to tricks" if n >= 10 else "Keep at it until you get it"

def hoop_count(n: int) -> str:
    """ Display message for Alex based on how many times the hoop goes round. """
    return "Great, now move on to tricks" if n >= 10 else "Keep at it until you get it"

def hoop_count(n):
    if not n:
        return "Keep at it until you get it"
    elif n <= 0:
        return "Keep at it until you get it"
    elif n >= 10:
        return "Great, now move on to tricks"
    elif n < 10:
        return "Keep at it until you get it"

def hoop_count(n):
    if n>=10: return ("Great, now move on to tricks")
    else: return ("Keep at it until you get it")
    pass

def hoop_count(n):
    if n<10:
        return "Keep at it until you get it"
    if n==10 or n>10:
        return "Great, now move on to tricks"


def hoop_count(n):
    if n < 10:    
        return "Keep at it until you get it"
    elif n >= 10: 
        return "Great, now move on to tricks" 
    else: 
        return None

def hoop_count(n):
    message = ''
    if n < 10:
        message = 'Keep at it until you get it'
    else:
        message = 'Great, now move on to tricks'
    return message

# end goal - function that returns a message based on the number of hoops Alex 
# gets while hula hooping, use ternary operator or if/else conditional
# input - integer, n
# ouput - string
# edge cases - 

# function that takes number of hoop rotations
def hoop_count(n):
# if n < 10 return "Keep at it until you get it"
    if n < 10: return "Keep at it until you get it"
# if n >= 10 return "Great, now move on to tricks"
    else: return "Great, now move on to tricks"

def hoop_count(n):
    print(n)
    if 0 <= n < 10:
      return "Keep at it until you get it"
    return "Great, now move on to tricks"

def hoop_count(n):
    if n >= 10:
        return'Great, now move on to tricks'

    elif n < 10:
        return'Keep at it until you get it'
    return hoop_count(n)



def hoop_count(n):
    if n >= 10:
        return "Great, now move on to tricks"
    if n!= 10:
        return"Keep at it until you get it"

def hoop_count(n):
    n = int(n)
    if n>=10:
        return "Great, now move on to tricks"
    else:
        return "Keep at it until you get it"
x = hoop_count(20)
print(x)

def hoop_count(n):
    if n >= 10:
      return("Great, now move on to tricks")
    else:
      return("Keep at it until you get it")
      
print(hoop_count(3))

def hoop_count(n):
    # Good Luck!
    if  n >= 10:
        mess = "Great, now move on to tricks"
    else:
        mess = "Keep at it until you get it"
    return mess

def hoop_count(n):
    if n<10: return "Keep at it until you get it"
    return "Great, now move on to tricks"

def hoop_count(n):
    return ("Great, now move on to tricks", "Keep at it until you get it")[n<10]

hoop_count = lambda a : "Keep at it until you get it" if a <10 else "Great, now move on to tricks"

def hoop_count(n):
    msg = ["Keep at it until you get it", "Great, now move on to tricks"]
    if n >= 10:
       return msg[1]
    elif n<10:
       return msg[0]

def hoop_count(n):
    return "Great, now move on to tricks" if n > 9 else "Keep at it until you get it"

def hoop_count(n):
    if(n < 10):
        return "Keep at it until you get it"
    elif(n >= 10):
        return "Great, now move on to tricks"
    else: 
        return 0

def hoop_count(n):
    print(n)
    if n <10:
        return "Keep at it until you get it"
    else:
        return "Great, now move on to tricks"


def hoop_count(n):
    return "Keep at it until you get it" if n < int(10) else "Great, now move on to tricks"
    # Good Luck!


def hoop_count(n: int) -> str:
    return "Great, now move on to tricks" if n >= 10 else "Keep at it until you get it"

hoop_count = lambda n: ["Great, now move on to tricks", "Keep at it until you get it"][n < 10]

def hoop_count(n):
    if n >= 10:
        return str("Great, now move on to tricks")
    else:
        return str("Keep at it until you get it")

def hoop_count(n):
    return (n<10)*"Keep at it until you get it" + (n>=10)*"Great, now move on to tricks"

def hoop_count(n):
    if n >= 10:
        result = "Great, now move on to tricks"
    else:
        result = "Keep at it until you get it"
    return result


def hoop_count(n):
    
    if n == 10 :
        return "Great, now move on to tricks"
    elif n == 9 :
        return "Keep at it until you get it" 
    elif 0 < n <10 :
        return "Keep at it until you get it" 
    else : 
        return "Great, now move on to tricks" 

def hoop_count(n):
    about_n = n >= 10
    if about_n == True:
        return "Great, now move on to tricks"
    else:
        return "Keep at it until you get it"

def hoop_count(n):
    if n >= 10:
        return "Great, now move on to tricks"
    elif n < 10:
        return "Keep at it until you get it"
    elif n == None:
        return "Keep at it until you get it"

def hoop_count(n):
    plus_10 = "Great, now move on to tricks"
    minus_10 = "Keep at it until you get it"
    if n>=10:
        return plus_10
    else:
        return minus_10


def hoop_count(hulaHoops):
    if hulaHoops >= 10:
        return "Great, now move on to tricks"
    else:
        return "Keep at it until you get it"

def hoop_count(n):
    return {
    True: "Great, now move on to tricks",
    False: "Keep at it until you get it"
    }.get(n >= 10)

def hoop_count(n):
    return f"Great, now move on to tricks" if n >=10 else f"Keep at it until you get it" 

def hoop_count(n):
    
    result=''   
    
    if n>= 10:
      result="Great, now move on to tricks"
    else:
     result="Keep at it until you get it"
     
    return result 

import unittest

TEN_MORE_HOOPS_MESSAGE = "Great, now move on to tricks"
NOT_TEN_MORE_HOOPS_MESSAGE = "Keep at it until you get it"


def hoop_count(n):
    return TEN_MORE_HOOPS_MESSAGE if n >= 10 else NOT_TEN_MORE_HOOPS_MESSAGE
    
    
class TestHoopCount(unittest.TestCase):
    def test_should_return_encouraging_message_when_getting_ten_more_hoops(self):
        n = 11
        actual = hoop_count(n)
        self.assertEqual(actual, TEN_MORE_HOOPS_MESSAGE)

    def test_should_return_encouraging_message_when_does_not_getting_ten_more_hoops(self):
        n = 3
        actual = hoop_count(n)
        self.assertEqual(actual, NOT_TEN_MORE_HOOPS_MESSAGE)


def hoop_count(n):    
    messageA = "Keep at it until you get it"
    messageB = "Great, now move on to tricks"
    return messageA if n < 10 else messageB

def hoop_count(n):
    if n > 10:
      return("Great, now move on to tricks")
    elif n < 10:
      return("Keep at it until you get it")
    elif n == 10:
      return("Great, now move on to tricks")


def hoop_count(n):
    a='Great, now move on to tricks'
    b='Keep at it until you get it'
    return a if n>=10 else b

def hoop_count(n):
    msgOne = "Keep at it until you get it"
    msgTwo = "Great, now move on to tricks"
    if(n<10):
      return msgOne
    else:
      return msgTwo

def hoop_count(n):
   return n >= 10 and "Great, now move on to tricks" or "Keep at it until you get it"

def hoop_count(n):
    hoop_rounds = int(n)
    if hoop_rounds >= 10:
      return str("Great, now move on to tricks")
    else:
      return str("Keep at it until you get it")


def hoop_count(n):
    return "Keep at it until you get it" if 0 <= n <10 else "Great, now move on to tricks"

def hoop_count(n):
    if n >= 10:
        a =  "Great, now move on to tricks"
    else:
        a =  "Keep at it until you get it"
    return a

def hoop_count(n):
    msg1 = 'Great, now move on to tricks'
    msg2 = 'Keep at it until you get it'
    return (msg1, msg2)[n < 10]

def hoop_count(n):
    return ("Keep at it until you get it" if 0<=n and n<=9 else "Great, now move on to tricks" )
    # Good Luck!


def hoop_count(n):
    if n>=10:
        res = "Great, now move on to tricks"
    else:
        res= "Keep at it until you get it"
    return res

def hoop_count(n):
    if n >= 10:
        return "Great, now move on to tricks"
    
    else:
        n < 10
        return "Keep at it until you get it"

def hoop_count(n):
    m1 = "Keep at it until you get it"
    m2 = "Great, now move on to tricks"
    
    return m2 if n >= 10 else m1

def hoop_count(n):
    if n >= 10:
        return "Great, now move on to tricks"
    elif n < 10:
        return "Keep at it until you get it"
    else:
        return ""

def hoop_count(n):
    s1 = "Great, now move on to tricks"
    s2 = "Keep at it until you get it"
    return s1 if n >= 10 else s2

def hoop_count(n):
    # Good Luck!
    if 10>n:
        return "Keep at it until you get it"
    else:
        return "Great, now move on to tricks"

def hoop_count(n):
    a = 'Great, now move on to tricks'
    b = 'Keep at it until you get it'
    if n >= 10:
        return a
    else:
        return b

def hoop_count(n):
    if n >= int(10):
        hoop = "Great, now move on to tricks"
    else:
        hoop = "Keep at it until you get it"
    return hoop

def hoop_count(n):
    alex = ["Great, now move on to tricks","Keep at it until you get it"]
    if n >= 10:
        return alex[0]
        
    else:
        return alex[1]

def hoop_count(n):
    encourage = { 1: "Great, now move on to tricks",
    0: "Keep at it until you get it"}
    return encourage.get(n>=10)

def hoop_count(n):
    msg_1 = "Keep at it until you get it"
    msg_2 = "Great, now move on to tricks"
    return msg_1 if n < 10 else msg_2 

def hoop_count(n):
    alex = ""
    if n < 10:
        alex = "Keep at it until you get it"
    else:
        alex = "Great, now move on to tricks"
    return alex

def hoop_count(n):
    n = int(n)
    if n >= 10:
        return "Great, now move on to tricks"
    else:
        return "Keep at it until you get it"

def hoop_count(n):
    if n is None:
        return "Great, now move on to tricks"
    elif n >= 10:
        return "Great, now move on to tricks"
    elif n < 10:
        return "Keep at it until you get it"

def hoop_count(n):
    ans = n
    if ans >= 10:
        return "Great, now move on to tricks"
    else:
        return "Keep at it until you get it"
    # Good Luck!


def hoop_count(n):
    # Good Luck!
    r = "Great, now move on to tricks"
    if n < 10:
        r = "Keep at it until you get it"
    return r

def hoop_count(n):
    count = 0
    for i in range(n):
        count += 1
    if count >= 10:
        return "Great, now move on to tricks"
    else:
        return "Keep at it until you get it"
    # Good Luck!


def hoop_count(n):
    keep = "Keep at it until you get it"
    great = "Great, now move on to tricks"
    return keep if n < 10 else great

def hoop_count(n):
    if n >= 10:
        return "Great, now move on to tricks"
    else:
        return "Keep at it until you get it"
        
hoop_count(10)
hoop_count(3)
hoop_count(11)

def hoop_count(n):
    if n < 10:
        return ("Keep at it until you get it") 
    elif n > 10:
        return ("Great, now move on to tricks")
    else:
        return ("Great, now move on to tricks")


def hoop_count(n):
    #hula = input("how many times did the hoop go around")
    if n >= 10:
        return "Great, now move on to tricks"
    else:
        return "Keep at it until you get it"

def hoop_count(n):
    if n >= 10:
        value = "Great, now move on to tricks"
    else:
        value =  "Keep at it until you get it"
    return value

def hoop_count(n):
    return ("Great, now move on to tricks", "Keep at it until you get it")[int(n < 10)]

def hoop_count(hoops):
    if hoops >= 10:
        return("Great, now move on to tricks")
    else:
        return("Keep at it until you get it")    

class Cheese:
    def __call__(s,*v): return Cheese()
    def __eq__(s,o): return True
    
hoop_count = Cheese()

def hoop_count(n):
    return "Keep at it until you get it" if int(n) < 10 else "Great, now move on to tricks"

def hoop_count(n):
    messages = ["Great, now move on to tricks", "Keep at it until you get it"]
    return messages[0] if n >= 10 else messages[1]  

def hoop_count(n):
    print(n)
    if n >= 10:
        return "Great, now move on to tricks"
    else:
        return "Keep at it until you get it"

def hoop_count(n):
    if 10<=n:
        x="Great, now move on to tricks"
    else:
        x="Keep at it until you get it"
    return(x)
    
    # Good Luck!


def hoop_count(n):
    tricks = "Great, now move on to tricks"
    until = "Keep at it until you get it"
    if n >= 10:
        return tricks
    else:
        return until

def hoop_count(n):
    if n>9:
        return "Great, now move on to tricks"
    if n<10:
        return "Keep at it until you get it"