不挂科搜题免费

问题:

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

选项

  • to_int()

  • str_to_int()

  • int()

  • str2int()

  • 答案:

    C