Data Types
Data Types in Python There are various types of data types which can be classified as below : Every Value is specific to any data type in python.. Numbers Intergers Data Type : 1 , 2, -3, 0 Floats Data Type : 1.2 , 4.5 , -3.5 Complex Number Data Type : 5 + 6i, 4 + 4i Output : In Above Example cmath module is used to print real & imaginary part of complex number .. Later in blog I will explain how we can write a code using module & usage of functions.. Boolean Data Type : True and False == is Rational operator which compares , In above example first x = is assigned with 1 & then x is compared whether is 1 or not .. Hence Boolean Data type shows it is true or false ... Then we used type syntax to find the type of data type of True & False data type... Sequences Stri...