首页 › 答案 › 题库 › 网课

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

在Python中,哪个函数可以用来将一个字符串转换为整数?
A、toInt
B、strToInt
C、int
D、以上都不对
正确答案:int