What are Data Types in Python?

Subh Singh
Invent the Future
A data type is the kind of data stored in a variable, such as a number, string, boolean, list, or any other type of data.
Example:
age = 25 # Integer (int)
name = "Shobha" # String (str)
marks = 85.5 # Float (float)
is_student = True # Boolean (bool)
Here, different variables store different types of values according to the variable.











