官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 绥江县| 苍南县| 巴楚县| 樟树市| 洛宁县| 黄梅县| 永福县| 屏东县| 会东县| 临沧市| 雅江县| 西平县| 通河县| 家居| 巍山| 樟树市| 保定市| 浮梁县| 桐庐县| 凌云县| 江达县| 沁水县| 通许县| 千阳县| 桃园县| 丹巴县| 陕西省| 壤塘县| 贵港市| 海宁市| 清水河县| 临安市| 南通市| 昭通市| 宜春市| 石首市| 增城市| 明光市| 伊宁市| 泸水县| 宁远县|