- Daniel Arbuckle's Mastering Python
- Daniel Arbuckle
- 108字
- 2021-07-02 21:09:31
Python's built-in data structures and comprehensions
Now, let's take a look at the core data structure types of Python. These aren't the only data structures available, of course, because it's fairly easy to create data structures using classes. However, these data structures are built right into the heart of Python and they're highly efficient, so it's a good idea to be very familiar with them.
The first thing to understand is that data structures are themselves data values similar to a filing cabinet-they're one thing that contains many things. Like any other data value, they can be stored in a variable or used as part of an expression.
推薦閱讀
- C# 7 and .NET Core Cookbook
- Intel Galileo Essentials
- 垃圾回收的算法與實現
- Reactive Programming With Java 9
- JavaScript入門經典
- Nginx Lua開發實戰
- Java EE核心技術與應用
- Solr Cookbook(Third Edition)
- Mastering Web Application Development with AngularJS
- INSTANT Yii 1.1 Application Development Starter
- C++ Application Development with Code:Blocks
- 零基礎學Python編程(少兒趣味版)
- Visual FoxPro 6.0程序設計
- OpenCV 3計算機視覺:Python語言實現(原書第2版)
- Flask Web開發:基于Python的Web應用開發實戰(第2版)