在Python中,哪个函数可以用来将一个字符串转换为整数?


在Python中,哪个函数可以用来将一个字符串转换为整数?

A、toInt

B、strToInt

C、int

D、以上都不对

正确答案:int


Tag:整数 字符串 函数 时间:2024-05-07 14:43:41