venture of iit bombay vjti alumni number type conversion python converts numbers internally in an expression containing mixed types to common type for evaluation but sometimesyou need to coerce number explicitly from one type to another to satisfy the requirements of an operator or function parameter type int(xto convert to plain integer type long(xto convert to long integer type float(xto convert to floating-point number type complex(xto convert to complex number with real part and imaginary part zero type complex(xyto convert and to complex number with real part and imaginary part and are numeric expressions mathematical functions python includes following functions that perform mathematical calculations sr no function returns description abs(