if __name__=="__main__":
cock = 0
while cock <= 20:
hen = 0
while hen <=33:
chicken = 100 - cock - hen
if 5*cock + 3*hen + chicken/3 ==100:
print(cock , hen , chicken)
hen+=1
cock+=1
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)