首页 › 答案 › 题库 › 网课

如果将x转换成整数类型,需要什么什么函数?

如果将x转换成整数类型,需要什么什么函数?
A、str(x)
B、int(x)
C、intx
D、strx
正确答案:int(x)