def info(name, address):
name = (input ("Please Enter Your Name : "))
address = (input ("Please Enter Your Address : "))
return name
return address
def userinfo():
sumom=info(name='', address='')
print("Thank you for coming Mr. "+sumom)
userinfo()
Hello Folks! problem is here only "name" is printing but not "address" on userinfo() function, Can someone please help me out?
return namethe method will return and execution of the method's body will be complete. To return both items, try something similar to:def names(first, last): return (first, last)