Problem
print(id([1,2,3,[1,3]]))
hello = [1,2,3]
print(id(hello))
output: 4344840704 4344840704
I don't really understand why those two list have the same id? Thanks
Problem
print(id([1,2,3,[1,3]]))
hello = [1,2,3]
print(id(hello))
output: 4344840704 4344840704
I don't really understand why those two list have the same id? Thanks