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

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.

主站蜘蛛池模板: 彭水| 泰和县| 叶城县| 磐石市| 中西区| 临安市| 峡江县| 普兰县| 延庆县| 甘南县| 托克逊县| 于田县| 阜南县| 宝兴县| 铁力市| 镶黄旗| 彭州市| 浮山县| 郴州市| 涡阳县| 武汉市| 博野县| 琼中| 浪卡子县| 大关县| 贵州省| 弋阳县| 漳平市| 阜阳市| 从化市| 辽源市| 马尔康县| 屯昌县| 汶川县| 定远县| 富平县| 六枝特区| 南康市| 黄大仙区| 同心县| 赤壁市|