How to create a list of empty lists in Python?
empty_list = [[], []] print(empty_list) thelist = [list(), list()] print(thelist)
Output
[[], []] [[], []]
empty_list = [[], []] print(empty_list) thelist = [list(), list()] print(thelist)
[[], []] [[], []]