对于以下程序的描述,正确的是:s ="Python is good"I=" isn't it"length = len(s)s_title = s. title()s_I =s+ls_number = s[ 1:6]print(length)
A. length为12
B. s_title为”PYTHON IS COOD"
C. s_I为" Python is good isn' t it"
D. s_number为" Python"
查看答案
下列关于 Python运算符的使用描述正确的是:
A. a=!b,比较a与b是否不相等
B. a=+b,等同于a=a+b
C. a == b,比较a与b是否相等
D. a//=b,等同于a=a/b
以下程序的输出结果是:print( 1.5 +2.1 == 3.6)
A. 3.6
B. True
C. 1.5 +2.1==3.6
D. False
以下程序的输出结果是:Test_list =list(range(6))print(6 in Test_list)}
A. 6
B. 6 in Test_list
C. True
D. False
以下选项中,Python不支持的数据类型是:
A. int
B. char
C. float
D. list