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

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.

主站蜘蛛池模板: 乐陵市| 桃江县| 崇礼县| 那坡县| 东安县| 宁远县| 蒙阴县| 肥乡县| 泸溪县| 霍州市| 湘潭市| 平和县| 乐亭县| 宁明县| 漳平市| 惠水县| 中超| 来安县| 通海县| 康马县| 扎兰屯市| 陆河县| 华阴市| 麦盖提县| 秦安县| 乌拉特后旗| 汶上县| 常山县| 黑山县| 渭南市| 资中县| 沁阳市| 辽阳市| 谢通门县| 加查县| 江都市| 马边| 玉环县| 揭阳市| 砀山县| 临高县|