- 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
- JavaScript高效圖形編程
- Practical Windows Forensics
- 零基礎(chǔ)學(xué)Java(第4版)
- C語言實(shí)驗(yàn)指導(dǎo)及習(xí)題解析
- Mastering C++ Multithreading
- Troubleshooting Citrix XenApp?
- Mastering HTML5 Forms
- 軟件工程與UML案例解析(第三版)
- 黑莓(BlackBerry)開發(fā)從入門到精通
- Deep Learning for Natural Language Processing
- Modular Programming with JavaScript
- INSTANT LESS CSS Preprocessor How-to
- 自己動(dòng)手做智能產(chǎn)品:嵌入式JavaScript實(shí)現(xiàn)
- Visual FoxPro程序設(shè)計(jì)
- Mastering PyCharm