Once we invoke dostuff with a tuple then the tuple is copied as Component of the += operation and so b is unaffected. However whenever we invoke it which has a record the checklist is modified in place, so both a and b are influenced. In python 3, identical behaviour https://swith96172.loginblogin.com/32957041/the-best-side-of-swith