题目内容

Python常量包括?

A. 数字
B. 字符串
C. 布尔值
D. 空值

查看答案
更多问题

Python中变量名可以用数字开头。

A. 对
B. 错

Python没有命名常量。

A. 对
B. 错

print('{0} {1} {0}'.format('hello','world'))输出正确的是?

A. hello world
B. hello world hello
C. hello
D. world

为变量price输入一个浮点型数据的正确代码是()

A. price=input()
B. price=float(input())
C. price=float()

答案查题题库