题目内容

下面代码的输出结果是( )list1 = []for i in range(1,11):list1.append(i**2)print(list1)

A. [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
B. [0,1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
C. [0,2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
D. 2, 4, 6, 8, 10, 12, 14, 16, 18, 20]

查看答案
更多问题

执行下面操作后,list2的值是()list1 = [4,5,6]list2 = list1list1[2] = 3

A. [4,5,3]
B. [4,3,6]
C. [4,5,6]
D. 都不正确

以下程序的输出结果是( )x = ['90','87','90']n = 90print(x.count(n))

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

下面代码的输出结果是( )vlist = list(range(5))for e in vlist:print(e,end=",")

A. 0 1 2 3 4
B. 0,1,2,3,4,
C. 0,1,2,3,4
D. [0, 1, 2, 3, 4]

下列不属于消费税从价计征应税销售额构成内容的是()

A. 商品价款
B. 价外费用
C. 增值税额
D. 随同应税消费品一起销售的包装物所收取的押金

答案查题题库