def get_name(): #Get the users first and last name. first = raw_input("Enter your first name: ") last = raw_input("Enter your first name: ") # Return both names. return first, last def main(): # Values are assigned in the order they are returned. # The number of variables has to match the number of # return values. firstName, lastName = get_name() print firstName, lastName main()