- Python編程基礎與應用
- 李方園主編
- 140字
- 2021-10-27 16:38:16
1.3 Python基本數據類型
1.3.1 數據類型概述
Python中主要的內置數據類型如下。
1.數值numeric
包括int(整型)、float(浮點數)、bool(布爾型)、complex(復數型)等。
2.序列sequence
包括list(列表)、tuple(元組)、range(范圍)、str(字符串)、bytes(字節串)、set(集合)等;
3.映射mappings
包括dict(字典)。
4.類class
5.實例instance
6.例外exception
這里主要對其中幾種數據類型作介紹。
推薦閱讀
- Vue.js 3.x快速入門
- Flutter開發實戰詳解
- Learning ROS for Robotics Programming(Second Edition)
- Kubernetes實戰
- Python爬蟲開發:從入門到實戰(微課版)
- Hands-On Data Structures and Algorithms with JavaScript
- 實用防銹油配方與制備200例
- Python編程完全入門教程
- Access 2016數據庫管
- Python時間序列預測
- Arduino家居安全系統構建實戰
- NetBeans IDE 8 Cookbook
- 一步一步跟我學Scratch3.0案例
- 深入大型數據集:并行與分布化Python代碼
- Distributed Computing with Python