@ -195,7 +195,17 @@ def end():
print("--- End!")
# IA
def listNeeds():
N = []
# client, product
for c in range(C):
for p in range(P):
for cp in range(abs(Ci[c][p])):
N.append((c, p))
return N
while t < 10:
N = listNeeds()
newTurn()
# Output