For any programming language Data types are fundamental. Data types are used to store values and can be of different types and different lengths.
One easy way to understand data types is to think of them like utensils, they are of different types and different sizes. They are used based on requirement and type of content we need to store. e.g: we will use bucket to store water, a bowl to store curry and a bottle to store juice.
Some of the important data types in Python are:
Integer
Float
Boolean
String
Integer: is used to store numbers without decimals.
Float: is used to store numbers with decimals.
Boolean: is used to store True, False values. The binaries
String: is used to store alphanumeric data
Contributed by: Ubaid Darwaish