Quiz Catalog

Catalog of quizzes

a = [[] * 2] * 2
a[0].append(1)

print(a)
[[1], [1]]
  • object/reference
  • list/operation/append
  • list/operation/multiply,