A Python newbie! I need help converting a list of lists tuples of tuples.
I want to call the append_as_tuples function, but every time I return it, it says it ca
To convert list_of_lists to a tuple of tuples, use
list_of_lists
tuple_of_tuples = tuple(tuple(x) for x in list_of_lists)
there is a python built in function: list and tuple
list( the tuple)...to conver tuple to list tuple( the list )....to convert list to tuple