how to conver float and str in int python and its type code example Example: float to int in python # convert float to int int(2.0) #output :2