After we invoke dostuff with a tuple then the tuple is copied as part of the += Procedure and so b is unaffected. Even so once we invoke it having a listing the list is modified in place, so each a and b are afflicted. In python 3, equivalent conduct https://sergiobmuaf.glifeblog.com/26332929/the-best-side-of-swith