this took deeper look at python' dynamic typing model--that isthe way that python keeps track of object types for us automaticallyrather than requiring us to code declaration statements in our scripts along the waywe learned how variables and objects are associated by references in pythonwe also explored the idea of garbage collectionlearned how shared references to objects can affect multiple variablesand saw how references impact the notion of equality in python because there is just one assignment model in pythonand because assignment pops up everywhere in the languageit' important that you have handle on the model before moving on the following quiz should help you review some of this ideas after thatwe'll resume our core object tour in the next with strings test your knowledgequiz consider the following three statements do they change the value printed for aa "spamb "shrubbery consider these three statements do they change the printed value of aa ["spam" [ "shrubbery how about these--is changed nowa ["spam" [: [ "shrubberytest your knowledgeanswers noa still prints as "spamwhen is assigned to the string "shrubbery"all that happens is that the variable is reset to point to the new string object and initially share ( reference/point tothe same single string object "spam"but two names are never linked together in python thussetting to different object has no effect on the same would be true if the last statement here were 'shrubbery'by the way--the concatenation would make new object for its resultwhich would then be assigned to only we can never overwrite string (or numberor tuplein placebecause strings are immutable yesa now prints as ["shrubbery"technicallywe haven' really changed either or binsteadwe've changed part of the object they both reference (point toby overwriting that object in place through the variable because references the same object as bthe update is reflected in as well the dynamic typing interlude