PEP8 is a style guide for Python that helps programmers write readable code. It is important to follow certain conventions to make our code readable. Some examples of coding conventions include the following:
- Inline comments should start with a # and be followed by a single space.
- Variables should have the following convention: first_var.
- Avoiding trailing whitespaces on each line. For example, if name == "test": should not be followed by whitespaces.
You can read the entire PEP8 standards at https://www.python.org/dev/peps/pep-0008/#block-comments.