The years from 3.5 to 3.9 gave Python much of the style that you now take for granted. Each release added a small number of features, and each is still in use every day. Knowing which version brought each tells you what a piece of code needs, and why very old code does not use these forms. Every example here runs on any current Python.
More lessons in Complete Python Programming