( )关系操作符用于判断两个值是否相等。
A. ===
B. ==
C. =
D. !=
{ 以下程序的输出结果是:ls = ["浣熊","豪猪","艾草松鸡","棉尾兔","叉角羚"]x = "豪猪"print(ls.index(x))}
A. 0
B. -3
C. -4
D. 1
{ 下面代码的输出结果是:
A. = [[1,2,3],[4,5,6],[7,8,9]] s = 0for c in a:(缩进) for j in range(3): (继续缩进)s += c[j]print(s) }A 以上答案都不对
B. 0
C. 24
D. 45
{下面代码的执行结果是:ls = [[1,2,3],[4,5,6],[7,8,9]] print(len(ls)) }
A. 3
B. 1
C. 4
D. 8