Full Assign Statement

We’ve covered the assign statement incrementally.

  • We had the simple assign statement just to use variables.

  • We had parallel assignment when we learned about tuples.

  • With lists and dictionaries, we learned about subscription and slice assignment.

  • We had the augmented assign statement after we learned about sets.

  • We had the attribute assignment described as part of OOP.

  • We had hints of serial assignment throughout.

  • We learned about annotations in relation to the assign statement.

Now that we understand all of these, it’s time to introduce the full assign statement, in all of its wonderful fantastic complexity and glory. I mentioned the assign statement was complicated in the comprehensive but brief overview of Python syntax, and skimmed the surface of it, but now we are mature enough to embrace the whole thing.