10.
有如下Python程序段:
import random
a = [34, 12, 93, 8, 14, 18, 24, 17, 51, 57]
num = random.randint(2, 3)
List = []
for i in range(len(a)):
if a[i] % num == 0:
List.append(a[i])
print(List)
执行该程序段后,输出的结果可能是( )
A.
[12, 93, 18, 24, 51, 57]
B.
[34, 12, 8, 14, 18, 0]
C.
[34, 12, 93, 8, 14, 18]
D.
[14, 18, 24, 17, 51, 57]