Your friend has been out shopping for puppies (what a time to be alive!)... He arrives back with multiple dogs, and you simply do not know how to respond!

By repairing the function provided, you will find out exactly how you should respond, depending on the number of dogs he has.

The number of dogs will always be a number and there will always be at least 1 dog.

```r
The expected behaviour is as follows:
- Your friend has fewer than 10 dogs:                    "Hardly any"
- Your friend has at least 10 but fewer than 51 dogs:    "More than a handful!"
- Your friend has at least 51 but not exactly 101 dogs:  "Woah that's a lot of dogs!"
- Your friend has 101 dogs:                              "101 DALMATIANS!!!"

Your friend will always have between 1 and 101 dogs, inclusive.
```

Difficulty: introductory

Starter code:

def how_many_dalmatians(n):
	

Solutions:
def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    return dogs[0] if n <= 10 else dogs[1] if n <=50 else dogs[3] if n == 101 else dogs[2]

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
  
  if n <= 10:
      return dogs[0]
  elif n <= 50:
      return dogs[1]
  elif n < 101:
      return dogs[2] 
  else:
      return dogs[3]

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
  if n <= 10: return dogs[0] 
  if n <= 50: return dogs[1] 
  if n == 101: return dogs[3]
  return dogs[2]

responses = [
  (lambda n: n < 11, "Hardly any"), 
  (lambda n: n < 51, "More than a handful!"), 
  (lambda n: n == 101, "101 DALMATIONS!!!"),
  (lambda n: True, "Woah that's a lot of dogs!")
]

how_many_dalmatians = lambda n: next(r for p, r in responses if p(n))

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
  if n <= 10:
    respond = 0
  elif n <= 50:
    respond = 1
  elif n == 101:
    respond = 3
  else:
    respond = 2
  
  return dogs[respond]

DOGS = ((100, '101 DALMATIONS!!!'), (50, 'Woah that\'s a lot of dogs!'),
        (10, 'More than a handful!'))


def how_many_dalmatians(n):
    return next((msg for dogs, msg in DOGS if n > dogs), 'Hardly any')


def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!","101 DALMATIONS!!!"];
    return dogs[(n>10)+(n>50)+(n==101)+(n>101)] 

def how_many_dalmatians(n):
    return "Hardly any" if n <= 10 else("More than a handful!" if n <= 50 else("101 DALMATIONS!!!"if n == 101 else "Woah that's a lot of dogs!"))

def how_many_dalmatians(number):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
  if number <= 10:
      return dogs[0]
  elif number <= 50:
      return dogs[1]
  elif number != 101:
      return dogs[2]
  else:
      return dogs[3]


def how_many_dalmatians(number):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
  if number <= 10:
      return dogs[0] 
  elif (number <= 50): 
      return dogs[1]
  elif number == 101:  
      return dogs[3]
  else:
      return dogs[2]

def how_many_dalmatians(number):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
  
    respond = dogs[0] if number <= 10 else dogs[1] if number <= 50 else dogs[3] if number == 101 else dogs[2]
  
    return respond

how_many_dalmatians=lambda n: ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"][sum([n>10, n>50, n>=101])]

DOGS = ((100, '101 DALMATIONS!!!'), (50, 'Woah that\'s a lot of dogs!'),
        (10, 'More than a handful!'), (0, 'Hardly any'))


def how_many_dalmatians(n):
    return next(msg for total_dogs, msg in DOGS if n > total_dogs)


def how_many_dalmatians(n: int) -> str:
    """ Get a defined string from the list based on given number. """
    dogs = ("Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!")
    return dogs[0] if n <= 10 else dogs[1] if n <= 50 else dogs[3] if n == 101 else dogs[2]

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
  #respond:
  if n <= 10: 
      return dogs[0] 
  elif n <= 50: 
      return dogs[1] 
  elif n == 101: 
      return dogs[3] 
  else:
      return dogs[2]
  
  return respond

def how_many_dalmatians(n):
  dogs =  ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
   
  if n <= 10: return dogs[0] 
  if n  > 10   and n <= 50: return dogs[1] 
  if n == 101: return dogs[3] 
  else: return dogs[2]  

def how_many_dalmatians(n):
    
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    
    
    if n == 101:
        return dogs[3]
        
    elif n >50:
        return dogs[2]
        
    elif n <= 10:
        return dogs[0]
    
    else:
        return dogs[1]

def how_many_dalmatians(n):
    dogs= ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
    respond = dogs[0] if n <= 10 else (dogs[1] if n <= 50 else (dogs[3] if n == 101 else dogs[2]))#dogs[2] is 101 DALMATIONS!!! 

    return respond

def how_many_dalmatians(number):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    return dogs[(number > 10) + (number > 50) + (number == 101)]

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  if n > 100:
      respond = dogs[3]
  elif n > 50:
      respond = dogs[2]
  elif n > 10:
      respond = dogs[1]
  else:
      respond = dogs[0]
  return respond

def how_many_dalmatians(number):
    reaction = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
    return reaction[0] if number <= 10 else reaction[1] if number <= 50  else reaction[3] if number == 101  else reaction[2]


def how_many_dalmatians(number):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];

    if number <= 10 :
        respond = dogs[0]
    elif number <= 50 :
        respond = dogs[1]
    elif number <= 100 :
        respond = dogs[2]
    else:
        number = 101
        respond = dogs[3]
    return(respond)

def how_many_dalmatians(n):
    n = int(n)
    if n <= 10:
       return "Hardly any"
    elif n <= 50:
        return "More than a handful!"
    elif n <= 100:
        return "Woah that's a lot of dogs!"
    elif n == 101:
        return "101 DALMATIONS!!!"

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
  respond = ""
  if n <= 10:
      return dogs[0]
  elif n <= 50:
      return dogs[1] 
  elif n == 101:  
      return dogs[3] 
  else: 
      return dogs[2]
  
  #return dogs[0] if number <= 10 elif number <= 50 then dogs[1] elif number = 101  dogs[3] else dogs[2]


def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
  if n == 101:
      return dogs[3] 
  
  elif n == None:
      return dogs[2]

  elif 51 < n < n ** n: 
      return dogs[2]     
      
  elif 10 < n <= 50: 
      return dogs[1]  
  
  elif n <= 10:  
      return dogs[0] 
  



def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    
    if n <= 10:
        return dogs[0]
    elif n <= 50:
        return dogs[1]
    elif n < 101:
        return dogs[2]
    elif n == 101:
        return dogs[3]


def how_many_dalmatians(n):
    if n<=10:
        return "Hardly any"
    if n<=50:
        return "More than a handful!"
    if n<=100:
        return "Woah that's a lot of dogs!"
    if n>=101:
        return "101 DALMATIONS!!!"
    
    


def how_many_dalmatians(number):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
  return dogs[0] if number <= 10 else dogs[1] if 10< number <= 50 else dogs[3] if number == 101 else dogs[2]
  


def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
    if n <= 10:
      return dogs[0] 
    if n <= 50:
      return dogs[1] 
    if n == 101:
      return dogs[3] 
    return dogs[2]
    return n

def how_many_dalmatians(number):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
    return dogs[0] if number <= 10 else dogs[1] if number <= 50 else dogs[-1] if number == 101 else dogs[2]


def how_many_dalmatians(number):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
  if number <= 10: 
      return dogs[0] 
  elif number <= 50:
      return dogs[1]
  elif number >50 and number!=101:
      return dogs[2]
  elif number == 101:
      return dogs[3] 
  else:
      dogs[2]

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
  
  if n <= 10:
      x = 0
  elif n <= 50:
      x = 1
  elif n == 101:
      x = 3
  else: 
      x = 2
  
  return dogs[x]

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  return dogs[(n>10)+(n>50)+(n==101)]

def how_many_dalmatians(n):
    dogs=["Hardly any", "Woah that's a lot of dogs!", "More than a handful!", "101 DALMATIONS!!!"];
    return dogs[(n>10)*((n<=50)+2*(n==101)+1)]

def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
    return dogs [(n==101)+(50<n<=101)+(n>10)]

d=["Hardly any",
    "More than a handful!",
    "Woah that's a lot of dogs!",
    "101 DALMATIONS!!!"]
def how_many_dalmatians(n):
    return d[3] if n==101 else d[0] if n<=10 else d[1] if n<=50 else d[2] 

def how_many_dalmatians(number): return "Hardly any" if number <= 10 else "More than a handful!" if number <= 50 else "101 DALMATIONS!!!" if number == 101 else "Woah that's a lot of dogs!"

L = ("Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!")

def how_many_dalmatians(n):
    return L[(n > 10) + (n > 50) + (n == 101)]

def how_many_dalmatians(number):
    if number <=10:
        return "Hardly any"
    elif 10 < number <= 50:
        return "More than a handful!"
    if number == 101:    
        return "101 DALMATIONS!!!"
    else:
        return "Woah that's a lot of dogs!"


def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    respond = {n<=10: dogs[0], n<= 50 and n > 10: dogs[1], n==101: dogs[3]}.get(True, dogs[2])

    return respond

def how_many_dalmatians(n):
  respond = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]

  if n <= 10:
       return respond[0]
  elif n <= 50:
       return respond[1]
  elif n == 101:
       return respond[3]
  return respond[2]

DOGS = [
    "Hardly any",
    "More than a handful!",
    "Woah that's a lot of dogs!",
    "101 DALMATIONS!!!",
]


def how_many_dalmatians(number):
    if number <= 10:
        respond = DOGS[0]
    elif number <= 50:
        respond = DOGS[1]
    elif number == 101:
        respond = DOGS[3]
    else:
        respond = DOGS[2]
    return respond


def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    return dogs[3] if n > 100 else dogs[2] if n > 50 else dogs[1] if n > 10 else dogs[0]

'''def how_many_dalmatians(number):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
  respond = if number <= 10 then dogs[0] else if (number <= 50 then dogs[1] else (number = 101  dogs[3] else dogs[2]
  
return respond'''
                                                                                  
def how_many_dalmatians(n):
    answers = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    respond = 3 if n == 101 else 2 if n > 50 else 1 if n > 10 else 0
    return answers[respond]

def how_many_dalmatians(n):
    if n<=10:
        return 'Hardly any'
    if n<=50:
        return 'More than a handful!'
    if n==101:
        return '101 DALMATIONS!!!'
    else:
        return 'Woah that\'s a lot of dogs!'


def how_many_dalmatians(number):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    
    if number <= 10: 
        return dogs[0] 
    elif number <= 50: 
         return dogs[1] 
    elif number < 101:  
        return dogs[2]
    elif number == 101:
        return dogs[3]


def how_many_dalmatians(number):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
    if number == 101:
        return dogs[3] 
    elif number > 50:
        return dogs[2]
    elif number > 11:
        return dogs[1]
    else:
        return dogs[0]
    
# respond = if number <= 10 then dogs[0] else if (number <= 50 then dogs[1] else (number = 101  dogs[3] else dogs[2]      


def how_many_dalmatians(number):
    dogs=["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    if number <= 10:
        return dogs[0]
    elif 10<number <= 50:
        return dogs[1]
    elif number == 101:
        return dogs[3]
    elif 50<number<101:
        return dogs[2]

def how_many_dalmatians(number):
#dogs ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
    if 1 <= number <= 10:
        return "Hardly any"
    elif 11 <= number <= 50:
        return "More than a handful!"
    elif 51 <= number <= 100:
        return "Woah that's a lot of dogs!"
    elif number == 101:
        return "101 DALMATIONS!!!"

def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
    if 10 >= n:
        return dogs[0]
    elif 50 >= n > 10:
        return dogs[1]
    elif 100 >= n > 50:
        return dogs[2]
    elif n > 100 :
        return dogs[3]

def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
    respond = dogs[0] if n <= 10 else (dogs[1] if n <= 50 else dogs[2])
    return respond if n != 101 else dogs[-1]

def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    if n <= 10:
        return dogs[0] 
    elif n <= 50:
        return dogs[1] 
    elif n == 101: 
        return dogs[3] 
    elif n >= 50:
        return dogs[2]

def how_many_dalmatians(number: int) -> str:
    dogs = [
        "Hardly any",
        "More than a handful!",
        "Woah that's a lot of dogs!",
        "101 DALMATIONS!!!",
    ]
    respond = (
        dogs[0]
        if number <= 10
        else dogs[1]
        if number <= 50
        else dogs[2]
        if number >= 50 and number <= 100
        else dogs[3]
    )
    return respond

def how_many_dalmatians(n):
    if n <= 10:
        return 'Hardly any'
    elif n <= 50:
        return 'More than a handful!'
    elif n != 101:
        return "Woah that's a lot of dogs!"
    else:
        return '101 DALMATIONS!!!'

def how_many_dalmatians(n):
    d = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
    # respond = if number <= 10 then dogs[0] else if (number <= 50 then dogs[1] else (number = 101  dogs[3] else dogs[2]
    return d[0] if n <= 10 else d[1] if n <= 50 else d[3] if n==101 else d[2]

def how_many_dalmatians(n):
  
  #respond = if number <= 10 then dogs[0] else if (number <= 50 then dogs[1] else (number = 101  dogs[3] else dogs[2]
  if n == 101:
        return "101 DALMATIONS!!!"
  elif n < 11:
    return "Hardly any"
  elif n < 51:
        return "More than a handful!"
  else: 
    return "Woah that's a lot of dogs!"

def how_many_dalmatians(n):
    if n >= 1 and n <= 10:
        return "Hardly any"
    elif n >= 11 and n <= 50:
        return "More than a handful!"
    elif n >= 51 and n <= 100:
        return "Woah that's a lot of dogs!"
    return "101 DALMATIONS!!!"

def how_many_dalmatians(n):
    dogs = ("Hardly any", 
            "More than a handful!", 
            "Woah that's a lot of dogs!", 
            "101 DALMATIONS!!!")
    if n <= 10:
        return dogs[0]
    if n <= 50:
        return dogs[1] 
    if n == 101:
        return dogs[3] 
    else:
        return dogs[2]

def how_many_dalmatians(n):
    dogs=["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    respond=''
    if n<= 10:
        respond=dogs[0] 
    elif n <= 50:
        respond=dogs[1] 
    elif n <=100:
        respond=dogs[2] 
    
    elif n==101 :
        respond=dogs[3]
  
    return respond

def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
    respond = ""
    if n <= 10:
        return dogs[0]
    elif n <= 50:
        return dogs[1]
    elif n == 101:
        return dogs[3]
    return dogs[2]

def how_many_dalmatians(n):
  dogs=["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
  
  if n <= 10:
    return dogs[0]
  if n <= 50:
        return dogs[1]
  if n == 101:
      return dogs[3]
  else:
    return dogs[2]
  #respond = if number <= 10 then dogs[0] else if number <= 50 then dogs[1] else (number == 101  dogs[3] else dogs[2])
  
  #return respond


# Your friend has been out shopping for puppies (what a time to be alive!)... 
# He arrives back with multiple dogs, and you simply do not know how to respond!
# By repairing the function provided, you will find out exactly how you should respond, 
# depending on the number of dogs he ha

def how_many_dalmatians(number):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
    if(number <= 10):
        return dogs[0] 
    elif(number <= 50):
        return dogs[1]
    elif(number == 101):
        return dogs[3]
    else:
        return dogs[2]

def how_many_dalmatians(n):
 # dogs ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
    if n <= 10: 
        return "Hardly any"
    elif n <= 50: 
        return "More than a handful!"
    elif n == 101: 
        return "101 DALMATIONS!!!"
    else: 
        return "Woah that's a lot of dogs!" 


def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    if n < 11:
        return dogs[0]
    elif n > 11 and n < 52:
        return dogs[1]
    elif n > 50 and n < 101:
        return dogs[2]
    elif n == 101:
        return dogs[3]

def how_many_dalmatians(n):
    return "Hardly any" if n <= 10 else "More than a handful!" if n <= 50 else "Woah that's a lot of dogs!" if n < 101 else "101 DALMATIONS!!!"

def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    if n <= 10: return dogs[0]
    if 10 < n <= 50: return dogs[1]
    if 50 < n <= 100: return dogs[2]
    else: return dogs[3]

def how_many_dalmatians(number):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    if number <= 10:
        respond = dogs[0]
    else:
        if number <= 50: 
            respond = dogs[1]
        else: 
            respond = dogs[2]     
    if number == 101: 
        respond = dogs[3]         
    return respond

def how_many_dalmatians(n):
    a = ("Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!")
    return a[0] if n <= 10 else a[1] if n <= 50 else a[3] if n == 101 else a[2]

def how_many_dalmatians(n):
    if n<=10:
        return "Hardly any"
    elif n>10 and n<=50:
        return "More than a handful!"
    elif n>50 and n<=100:
        return "Woah that's a lot of dogs!"
    else:
        return "101 DALMATIONS!!!"

def how_many_dalmatians(n):
    d=["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
    return d[0] if n <= 10 else d[1] if n <= 50 else d[2] if n < 101 else d[3] 


def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
  if n <= 10:
    respond = dogs[0] 
  elif n <= 50:
    respond = dogs[1]
  else:
    if n == 101:
        respond = dogs[3]
    else:
        respond = dogs[2]
  return respond

def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    response = ''
    if n == 101:
        response = dogs[3]
    elif n <= 10:
        response = dogs[0]
    elif n <= 50:
        response = dogs[1]
    else:
        return dogs[2]
    return response


def how_many_dalmatians(number):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
    if number <= 10 :
        respond = dogs[0]
    elif number <= 50 :
        respond = dogs[1]
    elif number <= 101 :
        respond = dogs[2]
    if number == 101 :
        respond = dogs[3]
  
    return respond

def how_many_dalmatians(n):
    dogs = ['Hardly any', 'More than a handful!', 'Woah that\'s a lot of dogs!', '101 DALMATIONS!!!']
    if n <= 10:
        return dogs[0]
    elif n <= 50:
        return dogs[1]
    elif n == 101:
        return dogs[3]
    else:
        return dogs[2]

def how_many_dalmatians(n):
    if n<=10:
        return 'Hardly any'
    elif n<=50:
        return "More than a handful!"
    else:
        if n==101:
            return "101 DALMATIONS!!!"
        else:
            return "Woah that's a lot of dogs!"

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]

  
  if n <= 10:
      ans = dogs[0]
  elif n <= 50:
      ans = dogs[1]
  elif n == 101:
      ans = dogs[3]
  else:
      ans = dogs[2]
  return ans

def how_many_dalmatians(n):
    return "Hardly any" if n <= 10 else "More than a handful!" if n <= 50 else "Woah that's a lot of dogs!" if n <= 100 else "101 DALMATIONS!!!" 

def how_many_dalmatians(n):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    return dogs[0] if n <= 10 else (dogs[1] if 10 < n <=50 else (dogs[3] if n == 101 else dogs[2]))

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  result = ""
  if n <= 10:
      result = dogs[0]
  elif (n <= 50):
      result = dogs[1] 
  elif n == 101:
      result = dogs[3]
  else:
      result = dogs[2]
  
  return result

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  if n == 101:
      return dogs[3]
  elif n <= 10:
      return dogs[0] 
  elif n <= 50 and n > 10:
      return dogs[1]
  else:
      return dogs[2]
  


def how_many_dalmatians(n):
    dogs= ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
    
    if n <= 10:
        return dogs[0]
    elif n <= 50:
        return dogs[1]
    elif n == 101:
        return dogs[3]
    elif n <= 100:
        return dogs[2]
    return None

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
  
  if n <= 10: 

    return dogs[0] 

  elif n <= 50: 

    return dogs[1] 
    
  if n == 101: 
        
    return dogs[3] 
            
  else: 
                
    return dogs[2]
  


def how_many_dalmatians(n):
    if n <= 10:
        return "Hardly any"
    if n <= 50:
        return "More than a handful!"
    if n <= 100:
        return "Woah that's a lot of dogs!"
    if n == 101:
        return "101 DALMATIONS!!!"



def how_many_dalmatians(n):
  dogs= ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  if 1<n<11:
      return dogs[0]
  if 10<n<51:
      return dogs[1]
  if 51<n<101:
      return dogs[2]
  if n == 101:
      return dogs[3]


def how_many_dalmatians(n):
  return ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", 
      "101 DALMATIONS!!!"][int(n>10) + int(n>50) + int(n==101)]

def how_many_dalmatians(number):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
    if number <= 10: 
        return dogs[0]
    elif number <= 50:
        return dogs[1] 
    elif number > 100:
         return dogs[3]
    elif number > 50: 
        return dogs[2]

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
#   respond = if n <= 10 then dogs[0] else if (number <= 50 then dogs[1] else (number = 101  dogs[3] else dogs[2]
  
  if n <= 10: return dogs[0]
  elif n <= 50: return dogs[1]
  elif n == 101: return dogs[3]
  else: return dogs[2]
  
# return respond


def how_many_dalmatians(n):
    dogs = {
        n <= 10: "Hardly any", 
        10 < n <= 50: "More than a handful!", 
        n == 101: "101 DALMATIONS!!!"
    }
    return dogs.get(True, "Woah that's a lot of dogs!")


def how_many_dalmatians(n):
    msg = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    idx = {
        0: n <= 10,
        1: 10 < n <= 50,
        2: 50 < n <= 100,
        3: n >= 101
    }
    for k, v in idx.items():
        if v:
            return msg[k]

def how_many_dalmatians(number):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
  #respond = dogs[0] if number <= 10 else if (number <= 50 dogs[1] else (number = 101  dogs[3] else dogs[2]
  
  if number <= 10:
      return dogs[0]
  elif number <= 50:
      return dogs[1]
  elif number < 101:
      return dogs[2]
  else:
      return dogs[3]
  
  
#return respond


def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  if n <= 10:
      respond = dogs[0]
      return respond
  elif n<= 50:
      respond = dogs[1]
      return respond
  if n < 101:
      respond = dogs[2]
      return respond
  elif n == 101:
      respond = dogs[3]
      return respond

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
  respond = ""
  if n <= 10:
      respond = dogs[0]
  elif n <= 50:
      respond = dogs[1]
  else:
      if n == 101:
          respond = dogs[3]
      else:
          respond = dogs[2]
  return respond

def how_many_dalmatians(n):
    respond = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
  
    if n <= 10 :
        return respond[0]
    elif n <= 50:
        return respond[1]
    elif n <= 100:
        return respond[2]
    elif n > 100:
        return respond[3]
   


def how_many_dalmatians(n):
    if n <= 10:
        return "Hardly any"
    elif 10 < n <= 50:
        return "More than a handful!"
    elif 50 < n < 101:
        return "Woah that's a lot of dogs!"
    elif n == 101:
        return "101 DALMATIONS!!!"
        
        



dogs=["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]


how_many_dalmatians=lambda n: dogs[0] if n<=10 else dogs[1] if n<=50 else dogs[3] if n==101 else dogs[2]

def how_many_dalmatians(n):
  dogs=["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
  
  if n<=10:
      r=dogs[0]
      
  elif n>10 and n<=50:
      r=dogs[1]

  elif n==101:
      r=dogs[3]
  else:
      r=dogs[2]
      
  return r

def how_many_dalmatians(n):
    if n == 101:
        return '101 DALMATIONS!!!'
    elif n in range(11):
        return 'Hardly any'
    elif n in range(11, 51):
        return 'More than a handful!'
    else:
        return 'Woah that\'s a lot of dogs!'

def how_many_dalmatians(n):
    if n == 101:
        return "101 DALMATIONS!!!"
    elif 51<= n <=100:
        return "Woah that's a lot of dogs!"
    elif n <= 10:
        return "Hardly any"
    else:
        return "More than a handful!"

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
  if n <= 10:
        return dogs[0]
  if n > 10 and n <= 50:
        return dogs[1]
  if n > 50 and n <= 100:
        return dogs[2]
  if n == 101:
        return dogs[3]
  else:
        return dogs[2]





def how_many_dalmatians(n):
    return "101 DALMATIONS!!!" if n == 101 else "Hardly any" if n <= 10 else "More than a handful!" if n <= 50 else "Woah that's a lot of dogs!"


def how_many_dalmatians(n):
    dogs=["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  
    if n<= 10:
             r=dogs[0]
             return r
    elif n <= 50:
                r=dogs[1]
                return r
    elif n==101:
               r=dogs[3]
               return r
    else: 
        r=dogs[2]
        return r
  


def how_many_dalmatians(number):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  if number <= 10:   return dogs[0] 
  elif number <= 50: return dogs[1] 
  elif number < 101: return dogs[2] 
  elif number >= 101:  return dogs[3]

def how_many_dalmatians(number):
    dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
    
    if number == 101:
        return dogs[3]
    if number <= 10:
        return dogs[0] 
    if number <= 50:
        return dogs[1] 
    if number > 50:
        return dogs[2] 


def how_many_dalmatians(number):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
  
  #respond = if number <= 10 then dogs[0] else if (number <= 50 then dogs[1] else (number = 101  dogs[3] else dogs[2]
  
  if number <= 10:
      respond = dogs[0]
  elif number <= 50:
      respond = dogs[1]
  elif number == 101:
      respond = dogs[3]
  else:
      respond = dogs[2]
  
  return respond

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  if n <= 10:
      return dogs[0]
  elif n <= 50:
      return dogs[1]
  elif n > 50 and n <= 100:
      return dogs[2]
  else:
      return dogs[3]

def how_many_dalmatians(n):
  if n <=10:
    return "Hardly any"
  elif n<=50:
    return "More than a handful!"
  elif n == 101:
    return "101 DALMATIONS!!!"
  elif n>50 and n<101:
    return "Woah that's a lot of dogs!"

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];
  if n <= 10:
      return dogs[0]
  elif n <= 50:
      return dogs[1]
  elif n <= 100:
      return dogs[2]
  elif n == 101:
      return dogs[3]
  
  
  #respond = if number <= 10 then dogs[0] else if (number <= 50 then dogs[1] else (number = 101  dogs[3] else dogs[2]


def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"];

  if n == 101:
      return dogs[3]
  elif n < 101 and n > 50:
      return dogs[2]
  elif n <= 50 and n > 10:
      return dogs[1]
  else:
      return dogs[0]

def how_many_dalmatians(n):
  dogs = ["Hardly any", "More than a handful!", "Woah that's a lot of dogs!", "101 DALMATIONS!!!"]
  
  if n <= 10:
      return dogs[0]
  if n <= 50:
      return dogs[1]
  if n <= 100:
      return dogs[2]
  if n <= 101:
      return dogs[3]