A. [5 for i in range(11)] B. 5 for i in range(11) C. [5 for i in range(10)] D. 5 for i in range(10)
A. [6, 9] B. [7.5, 6, 9] C. [6, 7.5, 9] D. [9, 6, 7.5]
A. squared = [x**2 for x in range(10)] B. squared = [x for x**2 in range(10)] C. squared = [x for x in range(10)] D. squared = [xfor x in range(10)**2 ]
A. [0, 6] B. [6] C. [6,] D. [4,6]
A. [1,2,3] B. [1] C. [1,2] D. [0,1,2]
A. [3,9,15,21] B. [3,9,15,21,27] C. [9,15,21,27] D. [9,15,21]
A. [x**2 for x in a] B. [x*2 for x in a] C. [x^2 for x in a] D. [x%2 for x in a]
A. 对 B. 错