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

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.

主站蜘蛛池模板: 河东区| 湖州市| 随州市| 鄂托克旗| 开封市| 长丰县| 如东县| 九江县| 新民市| 崇文区| 务川| 溆浦县| 平塘县| 富锦市| 陆良县| 灵寿县| 丹巴县| 吉林市| 桂东县| 贵溪市| 前郭尔| 通山县| 新干县| 安丘市| 莱州市| 阜阳市| 台前县| 天津市| 枞阳县| 牟定县| 谷城县| 内黄县| 湾仔区| 图们市| 秀山| 静安区| 洱源县| 桑日县| 太湖县| 遂川县| 松阳县|