A style guide provides provides a map so that the code generated by a group of programmers will be consistent and, therefore, easier to read and maintain. †
It is also an essential part of joining a community, and as with most communities the rules vary. In the case of programming they vary across languages, and even across major projects or companies using a language, e.g.
and of course, Python.
These are extracted from the Python guidelines above, so you will not have to wade through too many language features you won't recognize.
# filename # Author # Date
input and its
opening (.=, ==, <, <=, !=, <>, >=, >, and, or, not,
and in. Use spaces around arithmetic operators too, though in
long expressions using grouping for readability takes
precedence.