Each file focuses on one Python data type or topic.
If you're learning Python, copy-paste or type the code by yourself instead of running the script with everything in it at once.
- Short documentation as comments
- Many examples, separated by 2 empty lines
- Version-specific notes
- Sources
Use Python 3.8 or later as some examples make use of self-documenting expressions, which were added in v3.8.