from random import randint
a=[0]*6
for i in range(6):
a[i]=randint(1, 10)
if a[i]%2==0 and i%2== 0:
a[i] += 1
elif i%2==1:
a[i]=a[i]+a[i- 1]
print(a)
程序运行后,输出结果可能是 ( )
微信扫码预览、分享更方便