errorsit would be much more difficult for you to spot name typos in your code some operations perform assignments implicitly in this section we're concerned with the statementbut assignment occurs in many contexts in python for instancewe'll see later that module importsfunction and class definitionsfor loop variablesand function arguments are all implicit assignments because assignment works the same everywhere it pops upall these contexts simply bind names to object references at runtime assignment statement forms although assignment is general and pervasive concept in pythonwe are primarily interested in assignment statements in this table - illustrates the different assignment statement forms in pythonand their syntax patterns table - assignment statement forms operation interpretation spam 'spambasic form spamham 'yum''yumtuple assignment (positional[spamham['yum''yum'list assignment (positionalabcd 'spamsequence assignmentgeneralized * 'spamextended sequence unpacking (python xspam ham 'lunchmultiple-target assignment spams + augmented assignment (equivalent to spams spams the first form in table - is by far the most commonbinding name (or data structure componentto single object in factyou could get all your work done with this basic form alone the other table entries represent special forms that are all optionalbut that programmers often find convenient in practicetupleand list-unpacking assignments the second and third forms in the table are related when you code tuple or list on the left side of the =python pairs objects on the right side with targets on the left by position and assigns them from left to right for examplein the second line of table - the name spam is assigned the string 'yum'and the name ham is bound to the string 'yumin this case python internally may make tuple of the items on the rightwhich is why this is called tuple-unpacking assignment sequence assignments in later versions of pythontuple and list assignments were generalized into instances of what we now call sequence assignment--any sequence of names can be assigned to any sequence of valuesand python assigns the items one at time by position we can even mix and match the types of the sequences involved the assignmentsexpressionsand prints