Part 1 · Section 10

Python Updates

Python evolves every year, and a lot of what now feels like “just Python” is surprisingly recent. f-strings arrived in 3.6, ordered dictionaries became a language guarantee in 3.7, the walrus operator landed in 3.8, | for dictionaries in 3.9, and match in 3.10. If you read older code (or older tutorials), knowing when each feature arrived helps you recognise the workarounds people used before it existed, and when you can safely drop them.

Everything on these pages runs on Python 3.13, so you’ll also see short Modern Python notes wherever a later release refined a feature.

In this section you’ll learn:

Lectures

  1. 01Relevant Python 3.10 Changes✓
  2. 02Relevant Python 3.9 Changes✓
  3. 03Python 3.8 - Assignment Expressions✓
  4. 04Relevant Python 3.8 / 3.7 Changes✓
  5. 05Python 3.6 Highlights✓
  6. 06Python 3.6 - Dictionary Ordering✓
  7. 07Python 3.6 - Preserved Order of kwargs - Named Tuple Application✓
  8. 08Python 3.6 - Underscores and Numeric Literals✓
  9. 09Python 3.6 - f-Strings✓

Practice: quiz & exercises

12 quiz questions · 3 coding exercises

Go to practice →