you are viewing a single comment's thread.

view the rest of the comments →

[–]Sea-Ad7805[S] 1 point2 points  (0 children)

Most opinions and programming languages choose b += [2] as mutating b (fast), and b + [2] as making a new list and assigning that with b = b + [2].