A Secret Weapon For python
Whenever we invoke dostuff which has a tuple then the tuple is copied as Section of the += Procedure and so b is unaffected. On the other hand whenever we invoke it which has a record the listing is modified in position, so the two a and b are afflicted. In python three, similar conduct is observed While using the "bytes" and "bytearray" sorts.In a