Python Data Types (fourth part)
Here I published the fourth part of the consecutive series about Python Programming language to learn for all.
Previous:
Python Keywords and Identifiers (3rd part)
In a programming language, we have to work with various kinds of data items. Specific data item for a specific task. For this why data types are so important concepts in the programming language. Data items are being classification or categorization using data types.
In Python, when we assign a value to a variable the data type is automatically set.
Python has various built-in data types by default, like this :
We can categorize the data types of Python into two as follows:
1.Mutable Data Types :
A mutable data type can be changed after it is created.Like list, dict, set and user-defined classes.
2. Immutable Data Types :
Opposite of mutable data type, that means it can't be changed after it is created. Like int, float, bool, string
We'll briefly discuss every data type with examples one by one in this series.
We can also categorize Python data types into two according to data structures.
Note. We'll discuss the Python data structure in this series.
1. Primitive Data Types:
- Basic data types without advanced capabilities and generally it can have only single values.
2. Non-Primitive Data Types:
Advanced data types derived from primitive data types.
I hope you understand today's content easily.
Next
Python Rules of coding
Leave Python Data Types (fourth part) to:
Read more #stem posts
Best Posts From Hive-blogger
We have not curated any of alrashel's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Hive-blogger
- Bioengineering: How It Enhances Photosynthesis and Increases Yields in Food Crops
- Every programmer needs to know the Algorithms
- The booting operations phase of the modern computer system
- A Modern Perspective Of Operating Systems
- Moved to the appropriate community!
- Trading in a smart way.
- A Popular Data Structure In Python Programming : The List
- Bitcoin Is Going To The Back Of Its Price
- Let's Destroy Racism
- Web3 Decentralized Apps Keep Quarantined During The Global Epidemic.
- The Ethereum Name Service (ENS)
- Ethereum Enhances Transaction Privacy
- Primitive and non-primitive data structures in Python
- Python Rules Of Coding: Docstrings
- Python Rules Of Coding: String literals
- Python Rules Of Coding: Comments
- Python Rules Of Coding: Naming Conventions
- JavaScript : The Scripting Language
- Python Rules Of Coding: Indentation
- Python Data Types (fourth part)