I am trying to create a list of lists or sets, but when I add/append an element to one of the sublists, the element is added/appened to all other sublits. Here is the example:
>>> t=[[]]*5
>>> t
[[], [], [], [], []]
>>> t[1].append(4)
>>> t
[[4], [4], [4], [4], [4]]
How to solve this error?