Different types of data types DS301222

Datatype : Data is stored in different forms of variables with respect to their type.

Data can be seen in different forms such as integer, float,boolean,string etc and these forms are called as data types.

For example, value 7 is an integer . So, the data type we use for it is int()

Type of data can be found by using type() function
For eg, n=7
It returns datatype of n which stored 7.
Some of the data types are:

x=7 datatype: int
x=7.5 datatype: float
x=4+7j datatype: complex
x=β€œsia” datatype: string
x=range(6) datatype: range
x=True datatype: boolean


Nice Explanation.
Keep the good up.

amazing @kinnukeshiya