题目内容

a=[1]b=(1)a 和b的数据类型是:()

A. 列表元组
B. 列表字符串
C. 字符串字符串
D. 元组列表

查看答案
更多问题

以下程序的输出结果是(提示:ord(' a ')==97)()lista = [1,2,3,4,5,'a','b','c','d','e']Print(lista[2] + lista[5])

A. 100
B. d
C. "d"
D. 程序出错

下列语句的执行结果是()L1=[1,2,3,4,5]L2=L1del L2print(L1)

A. 1,2,3,4,5
B. [1,2,3,4,5]
C. “1,2,3,4,5”
D. 程序出错

下列语句执行结果是:()t=(12,34,5,67,8)print(type(t))

A.
B.
C.
D.

下面代码的输出结果是( )a = [1,2,3]if isinstance(a,float):print("{} is float".format(a))else:print("{} is not float".format(a))

A. a is float
B. [1, 2, 3] is float
C. a is notfloat
D. [1, 2, 3] is not float

答案查题题库