After we invoke dostuff with a tuple then the tuple is copied as part of the += Procedure and so b is unaffected. On the other hand after we invoke it using a checklist the record is modified in position, so both a and b are influenced. In python 3, https://juliusk036wci7.bimmwiki.com/user