第13267题 单选
执行给定Python程序段后,列表a的可能值是以下哪一项?

有如下Python程序段:

import random
a = [0] * 6
for i in range(1,6):
    tmp = random.randint(5,24)
    if tmp % 2 == 0 or i % 2 == 1:
        a[i] = a[i-1] + tmp
print(a)
A

[0,9,29,50,0,20]

B

[1,11,44,62,86,109]

C

[0,8,14,21,39,0]

D

[0,10,24,43,0,30]