运行如下程序,输出结果的是:print(" love “.join([“Everyday”,“Yourself”,“Python”,]))
A. Everyday love Yourself
B. Everyday love Python
C. love Yourself love Python
D. Everyday love Yourself love Python
查看答案
如下程序的输出结果是:L1 =[‘abc’, [‘123’,‘456’]]L2 = [‘1’,‘2’,‘3’]print(L1 > L2)
A. False
B. TypeError: ‘>’ not supported between instances of ‘list’ and ‘str’
C. 1
D. True
如下程序的输出结果是:L2 = [1,2,3,4]L3 = L2.reverse() print( L3)
A. [4, 3, 2, 1]
B. [3, 2, 1]
C. [1,2,3,]
D. None
如下程序的输出结果是:x = [‘90’,‘87’,‘90’]n = 90print(x.count(n))
A. 1
B. 2
C. None
D. 0
如下程序的输出结果是:ls =list(“the sky is blue”)
A. = ls.index(‘s’,5,10)print(a) 4
B. 5
C. 10
D. 9