Computer Science, asked by pragnasree5396, 9 months ago

Def greeting(name):
if ___ == "taylor":
return "welcome back taylor!"
___:
return "hello there, " + name
print(greeting("taylor"))
print(greeting("john"))

Answers

Answered by masterofcoding360
1

def greeting(name):

     if name=="taylor":

          return"welcome back    !"

     else:

         return "hello there," + name

print(greeting("taylor"))  

print(greeting("john"))  

Explanation:

Similar questions