Once we invoke dostuff having a tuple then the tuple is copied as Component of the += operation and so b is unaffected. Having said that once we invoke it having a listing the list is modified in position, so both of those a and b are impacted. In python https://dicks369cjp0.scrappingwiki.com/user