Basic Data Types — Python for Network Engineer
Basic Data Types — Python for Network Engineer
Python variables can store different types of data, and each type
can perform different functions. Here are the built-in data types in
Python:
Sequences:
1. String: str()
2. List: list()
3. Tuple: tuple() stable
4. Range: range()
Mapping:
1. Dictionary: dict()
Set: set()
Numbers:
1. Integer: int()
Boolean Value: bool()
2. Float: float()
3. Complex: Complex numbers
None: Represents the absence of a value
Variables in Python
Python Naming Conventions
Understanding Python Strings
Understanding Python Numbers
Integers in Python
Floats in Python
Numbers - Other Operators
Type Casting in Python
Useful Built-in Functions
Python Operators
stable