Data Types:-

There are various datatypes in Python that are used to define the operations possible on them and the storage method for each of them.As given below:-
Numbers
String
List
Tuple
Dictionary

Python Numbers:-
Integers, floating point numbers and complex numbers comes under Python numbers category.They are defined as intfloat and complex  class in Python,by using type() function, we can know which class a variable or a value belongs to and the isinstance() function to check if an object belongs to a particular class. As shown here:-Data types
Integers can be of any length but floating number can be up to 15  decimal places.Complex numbers are written in the form, x + yj, where x is the real part and y is the imaginary part.
we can delete a single or multiple objects by using the del statement,As:-
Untitled

Type Conversion:-

We can convert one type of number into another by using built in function  like int(),float() and complex(). As shown here:-
Untitled

Leave a comment