0
Please answer.
def x(): return #What can be written here?
4 Antwoorden
+ 5
Is this your homework?
https://www.sololearn.com/Discuss/3332338/?ref=app
+ 5
almost anything. your task question is not clear
+ 1
def x(name):
return f"Welcome, {name}!!😃. How do you do?"
name=input("Enter your name: ")
print(x(name))
Or
def x():
return "Hello, world!"
Or
def x(name="user"):
return f"Bye, {name or 'user'}👋!!"
name=input("Enter your name: ")
print(x(name))