Initial release
This commit is contained in:
9
Herculito 10 Les bœufs de Géryon.py
Normal file
9
Herculito 10 Les bœufs de Géryon.py
Normal file
@@ -0,0 +1,9 @@
|
||||
for blancs in range(1000):
|
||||
for roux in range(blancs+1, 1000-blancs):
|
||||
for noirs in range(roux+1, min(1000-blancs-roux, blancs*2)):
|
||||
if blancs*roux*noirs == 777*(blancs+roux+noirs):
|
||||
print("blancs", blancs)
|
||||
print("roux", roux)
|
||||
print("noirs", noirs)
|
||||
print("total", blancs+roux+noirs)
|
||||
|
||||
Reference in New Issue
Block a user