Python

Data types in Python

Python-data-types

There are different types of python data types. Some built-in python data types are:

Text Type: str
Numeric Types: intfloatcomplex
Sequence Types: listtuplerange
Mapping Type: dict
Set Types: setfrozenset
Boolean Type: bool
Binary Types: bytesbytearraymemoryview

In Python we need not to declare datatype while declaring a variable like C or C++. We can simply just assign values in a variable. But if we want to see what type of numerical value is it holding right now, we can use type(),

like below :

x=90

print(type(x))

you can find python tutorials free of cost on w3schools.com

Comment here

17 − = 13