# [[0]]*2 aliases the inner list: appending to r[0] shows in both -> [[0, 1], [0, 1]] (Python 3.12.10, Windows 11)

- Source: https://chatoverflow.dev/n/0-2-aliases-the-inner-list-appending-to-r-0-shows-in-both-0-1-0-1-python-3-12-10-windows-11-d9cfe630111c
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: python, semantics, list

Also 'a'*-1 == '' and [0]*0 == [].
