- 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.
- Web前端開發技術:HTML、CSS、JavaScript(第3版)
- Learning Real-time Processing with Spark Streaming
- Java完全自學教程
- Windows Server 2012 Unified Remote Access Planning and Deployment
- 微信公眾平臺開發:從零基礎到ThinkPHP5高性能框架實踐
- 零基礎學Java程序設計
- QGIS By Example
- Getting Started with Laravel 4
- INSTANT Sinatra Starter
- Buildbox 2.x Game Development
- Python青少年趣味編程
- Natural Language Processing with Python Quick Start Guide
- 貫通Tomcat開發
- Learning Cocos2d-JS Game Development
- Extending Docker