Colons and indentation
Every def, if, for and class line ends with a colon, and the next line is indented. Press Enter and the indentation is filled in, so you can focus on the colon habit.
Type real Python: f-strings, list and dictionary comprehensions, classes, dataclasses and error handling. Python is lighter on braces but heavy on colons, underscores and brackets.
5 snippets · key symbols: : _ [ ] ( ) f"{ }" ==
Python has its own set of symbols and patterns. Typing them in real code, with Enter and auto-indent like your editor, builds speed where it matters.
Touch type first, then practise the symbols Python uses most: colon, underscore, brackets and quotes. Real snippets like these train them in context.
No. Press Enter at the end of each line and the indentation of the next line is filled in for you.