单项选择题
把字符串’1.12’转换成整形型的函数是()
A.int(’1.12’)
B.float(’1.12’)
C.string(’1.12’)
D.set(’1.12’)
点击查看答案
相关考题
-
单项选择题
查看变量类型的方法是()
A.type()
B.help()
C.str()
D.id() -
单项选择题
Mysql中事务提交的方法是()
A.rallback()
B.commit()
C.session()
D.execute() -
单项选择题
a=[1,3,5,7,9],print(random.choice(a))的结果可能是()
A.2
B.4
C.5
D.6
