單項(xiàng)選擇題python中,[i for i in range(10)ifi%2==0]的值是()

A.[2,5,8]
B.[1,4,7]
C.[0,3,6]
D.[0,2,4,6,8]


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題"hello world".count(’o’)的值是()

A.0
B.1
C.2
D.3

2.單項(xiàng)選擇題python中,"zhongGuo".lower()的值是()

A."zhongguo"
B."ZHONGGUO"
C."Zhongguo"
D.程序異常

3.單項(xiàng)選擇題python中,’helloworld’.split(’o’)的值是()

A.[’hell’,’rld’]
B.[’hell’,’w’,’rld’]
C.[’hell’,’w’]
D.[]

4.單項(xiàng)選擇題python中,’HELLO’*5的值是()

A."HELLOHELLOHELLOHELLOHELLO"
B.""
C."HELLO"
D.None

5.單項(xiàng)選擇題’python’-"python"()的值是()

A.報(bào)錯(cuò)
B."Hello world"
C."hello World"
D."hello world"