The second type conversion is mandatory. When automatic type conversion cannot achieve the goal, you can use forced type conversion. For example, 6.5% 3, because both sides of% participate in the operation are plastic, automatic operation will turn 3 into floating point number, which will make an error, so forced type conversion is used.
int(6.5)% 3
In addition, when calling a function, sometimes in order to make the types of real parameters consistent, you can use the forced type conversion operator to obtain the required types of parameters.