- 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
- 小程序,巧運營:微信小程序運營招式大全
- iOS編程基礎:Swift、Xcode和Cocoa入門指南
- SAP BusinessObjects Dashboards 4.1 Cookbook
- R Deep Learning Cookbook
- C# 8.0核心技術指南(原書第8版)
- Android玩家必備
- 從零開始學C#
- MySQL入門很輕松(微課超值版)
- OpenStack Networking Essentials
- C++程序設計教程(第2版)
- Magento 2 Beginners Guide
- AngularJS UI Development
- 算法精解:C語言描述
- Java 7 Concurrency Cookbook
- 城市信息模型平臺頂層設計與實踐