- Daniel Arbuckle's Mastering Python
- Daniel Arbuckle
- 133字
- 2021-07-02 21:09:31
Indentation
Most other programming languages have explicit symbols that indicate the beginning of a block and the end of a block. However, it's a common practice in all of those languages to indent blocks so that humans find the code easier to read. In fact, failure to do so is often taken as a sign that a programmer is an amateur. This means that the block structure in most languages is actually represented in two different ways: the symbols and the indentation. By incorporating indentation into syntax without the need for explicit symbols, Python both removes this duplication and ensures that the code is readable.
With that, we've come to the end of this section. In the next section, we'll look at some of Python's built-in data structures and the data processing syntax.
- OpenStack Cloud Computing Cookbook(Third Edition)
- 深入理解Bootstrap
- 數據庫原理及應用(Access版)第3版
- 造個小程序:與微信一起干件正經事兒
- Java FX應用開發教程
- Servlet/JSP深入詳解
- UI智能化與前端智能化:工程技術、實現方法與編程思想
- UML+OOPC嵌入式C語言開發精講
- Visual C++串口通信技術詳解(第2版)
- YARN Essentials
- Python機器學習實戰
- Building Minecraft Server Modifications
- GameMaker Programming By Example
- HDInsight Essentials(Second Edition)
- Learning SciPy for Numerical and Scientific Computing(Second Edition)