- Learn Python in 7 Days
- Mohit Bhaskar N. Das
- 156字
- 2021-07-09 20:40:23
Data types in Python
What is a data type in any programming language? Let's try to understand with a real life problem. We use water, oil, liquid soap, syrups, and so on in our day to day life. How do you categorize these items? Let's take another set of examples of bar soap, cell phone, and so on; what classification would you like to give these items? Answer to all these questions is simple: solid, liquid, and gases. Yes, we have these three broader classifications for any item that we have heard about or used in our day to day life. Same is the case in the programming world. Each and every thing needs to be categorized under different types. There are many types of data, such as numbers, strings, character, images, and so on.
Data types can be broadly categorized into five different types, listed as follows:
- Numbers
- String
- Tuples
- List
- Dictionary
- 編寫高質量代碼:改善Python程序的91個建議
- Wireshark Network Security
- The Computer Vision Workshop
- 你必須知道的204個Visual C++開發問題
- Silverlight魔幻銀燈
- Kotlin Standard Library Cookbook
- Mathematica Data Analysis
- PHP+MySQL+Dreamweaver動態網站開發從入門到精通(第3版)
- OpenStack Networking Essentials
- SQL Server 2008 R2數據庫技術及應用(第3版)
- Scratch從入門到精通
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- Test-Driven iOS Development with Swift
- 零基礎學SQL(升級版)
- Spring Boot從入門到實戰