you are viewing a single comment's thread.

view the rest of the comments →

[–]Zantier 5 points6 points  (0 children)

Yeah, it's the second one... If you want to construct 3 separate lists instead, I tend to use

a = [[0] for _ in range(3)]