forcuslist=[] for x in range(1, 73): for y in range(1, 73): for z in range(1, 73): if x*y*z==72 and x+y+z==14: tem=[x,y,z] forcuslist.append(tem) print (forcuslist)
No comments:
Post a Comment