单选题

int() 函数用于将一个字符串或数字转换为整型。在Python交互式编程环境下执行以下语句,会出现错误的一项是?()

A

int()

B

int(1.0)

C

int(0x20,16)

D

int('2023',8)

赣ICP备20007335号-2