<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
Is there a way you can modify my code so that it prints the output of this code into a .txt document? Can you show me what the new code will look like. Thank you in advance
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
<What do you expect to happen instead?>
This code outputs every combination that can be made with those characters. The combination is only 3 characters long max.
res = itertools.product('abcdefghijklmnopqrstuvwxyz1234567890 ',repeat = 3) # 3 is the length of your result.
for i in res:
<do not remove the three backticks above>