Aug-24-2019, 03:46 PM
In line 7 you return guest_list, user_name. You are returning a tuple. From IDLE:
For a better description on tuples see https://docs.python.org/3.7/tutorial/dat...-sequences
>>> foo = "alpha","beta" >>> print (foo) ('alpha', 'beta') >>> print (type(foo)) <class 'tuple'>The tuple contains two items. In the above, they are two strings. In your case they are guest_list and user_name.
For a better description on tuples see https://docs.python.org/3.7/tutorial/dat...-sequences