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

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.

主站蜘蛛池模板: 佛山市| 东莞市| 襄汾县| 岱山县| 平凉市| 古田县| 六枝特区| 辉南县| 宝兴县| 察隅县| 浦东新区| 江口县| 兴安盟| 岢岚县| 丹江口市| 大名县| 淮安市| 武定县| 巍山| 和龙市| 安陆市| 施甸县| 绿春县| 沅陵县| 无锡市| 西丰县| 广河县| 华坪县| 德化县| 绥中县| 定结县| 化州市| 桓仁| 上饶市| 呼和浩特市| 石嘴山市| 浦东新区| 巴青县| 嵊州市| 东方市| 突泉县|