How does the int function convert a float to an int? code example Example: float to int in python # convert float to int int(2.0) #output :2