After we invoke dostuff that has a tuple then the tuple is copied as Component of the += operation and so b is unaffected. Having said that whenever we invoke it by using a list the checklist is modified in position, so each a and b are afflicted. In python https://omary692nua4.blogsvila.com/profile