Once we invoke dostuff having a tuple then the tuple is copied as Portion of the += Procedure and so b is unaffected. Even so when we invoke it with a listing the list is modified in position, so both a and b are affected. In python 3, related conduct https://mahendrae047zgp0.dekaronwiki.com/user