import random
xm=["A","B","C","D","E","F","G","H"] #用字母代表人名hj=[""]*3;
bz=[False]*8
i=0
while i<=2:
n=random.randint(0,7)
print(hj)
程序加框处代码合适的是( )
hj[i]=xm[n]
bz[n]=True i+=1
B . if bz[n]==True:hj[i]=xm[n]
bz[n]=False i+=1
C . if bz[i]==False:hj[n]=xm[i] bz[i]=True
i+=1
D . if bz[i]==True:hj[n]=xm[i]
bz[i]=True i+=1