DataTypes In Python Part- 1
For professionals and Freshers |
Datatype: Represents a type of data present in variable.
x=10
== > indicate that x is of int type. no need to tell type explicitly hence python language also considered as dynamically typed programming language.
There are total 14 datatypes presents in Python and following are the list of datatypes
int
float
complex
bool
str
byte
bytearray
range
list
tuple
set
frozenset
dict
None
Note : In python everything is an object (method,variable,class).
To be continued in partt-2
Comments
Post a Comment