Whenever we invoke dostuff having a tuple then the tuple is copied as Portion of the += Procedure and so b is unaffected. On the other hand once we invoke it having a checklist the list is modified in position, so both a and b are influenced. In python three, https://python85172.blog5star.com/27067094/the-greatest-guide-to-python