When we invoke dostuff with a tuple then the tuple is copied as Component of the += operation and so b is unaffected. On the other hand once we invoke it which has a list the list is modified set up, so equally a and b are impacted. In python https://harrisonb798bjt7.wikiusnews.com/user