Whenever we invoke dostuff that has a tuple then the tuple is copied as Section of the += operation and so b is unaffected. Having said that after we invoke it having a record the record is modified in place, so the two a and b are impacted. In python https://richardi378jvf7.wikidank.com/user