- 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
- C#高級編程(第10版) C# 6 & .NET Core 1.0 (.NET開發經典名著)
- Java Web及其框架技術
- Visual Basic學習手冊
- C程序設計案例教程
- 組態軟件技術與應用
- Mastering JavaScript Design Patterns(Second Edition)
- 蘋果的產品設計之道:創建優秀產品、服務和用戶體驗的七個原則
- Node.js:來一打 C++ 擴展
- Web程序設計:ASP.NET(第2版)
- Mastering OAuth 2.0
- Mastering Leap Motion
- Android 5從入門到精通
- Learning PrimeFaces Extensions Development
- 零基礎入門Python數據分析與機器學習
- 軟件測試實驗實訓指南