Type Conversion

Type conversion is used to covert the data type of any variable in Python. Let us take as example to understand it in better way. Consider the following example. 

a=10

print (float(a))

Output:-

10.0

b=9.77

print (int(b))

Output:-

9