(Mar-22-2020, 09:27 AM)ibreeden Wrote: You should print the lists just like the header.
print(f"{str_:<20} {list_:<20} {tuple_:<20} {dict_:<20} {set_:<20}") ... print(f"{str_list[i]:<20} {list_list[i]:<20} {tuple_list[i]:<20} {dict_list[i]:<20} {set_list[i]:<20}")But where does the index "i" come from? You will have to put this second print statement in a loop (for or while) where "i" increments from 0 to the maximum.
Try this and let us know what errors you get.
TypeError: list indices must be integers or slices, not list