Dec-24-2021, 12:27 PM
Hi! I have a function and I give it as a parameter a list. How can I display the name of the list which I use not the element?
a = [name, street, city] b = [colour, height, weight] def add_info(name) print(f'Do you you want to add info for {a}?) ---> here I want to print 'a' not the list element add_info(a)