int(5)
int(5)
int(25)
int(0)
int(0)
int(1)
int(0)
 

请注意,当转换以数字开头的字符串时,(int) 函数会使用该数字。如果字符串不以数字开头,(int) 函数会将字符串转换为数字 0。