Python Immutables
a = [[]]*6
a
[[], [], [], [], [], []]
a[1].append(“hello”)
a
[[‘hello’], [‘hello’], [‘hello’], [‘hello’], [‘hello’], [‘hello’]]
https://medium.com/@meghamohan/mutable-and-immutable-side-of-python-c2145cf72747
a = [[]]*6
a
[[], [], [], [], [], []]
a[1].append(“hello”)
a
[[‘hello’], [‘hello’], [‘hello’], [‘hello’], [‘hello’], [‘hello’]]
https://medium.com/@meghamohan/mutable-and-immutable-side-of-python-c2145cf72747