Feb-25-2018, 06:29 PM
you need to return name from the functions
at end of each function, return what function creates:
for example:
at end of each function, return what function creates:
for example:
def AskForLastName(): last = input('your last name?') print ("Nice meating you.Have a good day") return lastand when calling AskForLastName:
lastname = AskForLastName() print(lastname) # or simply: print(AskForLastName())