for x in range(0,21):
for y in range(0,34):
方框内代码可以为:
if x+y+z==100 and 5*x+3*y+z/3==100:
print("鸡翁",x,"鸡母",y,"鸡雏",z)
B . for z in range(0,101,3):if x+y+z==100 and 5*x+3*y+z/3==100:
print("鸡翁",x,"鸡母",y,"鸡雏",z)
C . z=100-x-yif 5*x+3*y+z/3==100:
print("鸡翁",x,"鸡母",y,"鸡雏",z)
D . z=(100-x-y)/3if 5*x+3*y+z/3==100:
print("鸡翁",x,"鸡母",y,"鸡雏",z)