Answer:
Step-by-step explanation:
2. #The correct finished code would be the following.
def greeting(name):
if name == 'Taylor':
return "Welcome back Taylor!"
else:
return "Hello there, " + name
print(greeting("Taylor"))
print(greeting("John"))
3. The output of this code will be 2 , this is because the second elif statement states that if the number is greater than 20 or less than 12 to print out the value 2. Since the input number is 10 then that is the elif that will be called.