Untitled
Anonymous
plain_text
07/05/2024 11:57 AM
332 B
27
Indexable
import itertools
# Az összes kombináció generálása
kombinaciok = itertools.combinations(range(1, 46), 6)
# Fájl megnyitása írásra
with open('6os_lotto_kombinaciok.txt', 'w') as f:
for komb in kombinaciok:
f.write(f"{komb}\n")
Editor is loading...
Leave a Comment