Hum... No it won't.
It's something you only really learn from C or Rust, but your operations will set both to the same list. If you go and change the list, you will change both, but if you set one to a different list, you won't change the other list.
In other words, if you do list1.push(4)
, you will change list2
. But list1 = [3, 2, 1]
won't.
Every variable in Python is actually a reference (maybe optimized out, but still logically a reference). There's no difference.
Numbers, booleans, and None won't give you that kind of problem only because you can't change them.