资讯

In Python, we define blocks using indentation instead of braces, as is common in many other languages. A "block" refers to a segment of code that is treated as a single unit. Think about conditional ...
As its name implies, Python with Braces doesn’t care about indentation: you’re free to make you code extremely ugly, or write your code properly in K&R style.
For example the Python interpreter cannot understand your code if your indentation is off, which teaches you to write well-formatted, readable code.