- 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
- Learning Java Functional Programming
- Java應用與實戰
- 密碼學原理與Java實現
- Learning Selenium Testing Tools with Python
- Mastering PHP Design Patterns
- 老“碼”識途
- TypeScript項目開發實戰
- Mathematica Data Analysis
- INSTANT Adobe Edge Inspect Starter
- Practical Game Design with Unity and Playmaker
- Mastering Docker
- 軟件體系結構
- Moodle 3 Administration(Third Edition)
- Learning Grunt
- 超好玩的Scratch 3.5少兒編程