Hi,
I can not write to the file.
Can someone help me?
Thanks

from itertools import product
valore = input('Inserisci un valore:  ')
risultato = product(valore, repeat = 3)
with open("file.txt", "w") as result:
        for i in risultato:
                print (result,"".join(i))
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to