Untitled
unknown
plain_text
a year ago
413 B
4
Indexable
import itertools # Characters to use characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' # Generate combinations combinations = [''.join(combo) for combo in itertools.product(characters, repeat=3)] # Save to comma-separated text file with open('three_char_combinations_comma_separated.txt', 'w') as file: file.write(', '.join([f'"{combo}"' for combo in combinations])) print("File created successfully!")
Editor is loading...
Leave a Comment