- 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.
- JavaScript全程指南
- Python for Secret Agents:Volume II
- PHP 7底層設計與源碼實現(xiàn)
- C語言從入門到精通(第4版)
- 精通網(wǎng)絡視頻核心開發(fā)技術
- Microsoft Azure Storage Essentials
- Mastering Backbone.js
- Node學習指南(第2版)
- HoloLens與混合現(xiàn)實開發(fā)
- Learning Modular Java Programming
- Python編程:從入門到實踐(第3版)
- Learning JavaScript Data Structures and Algorithms(Second Edition)
- 零基礎學HTML+CSS第2版
- Android移動應用開發(fā)項目教程
- 實驗編程:PsychoPy從入門到精通