I try Hard to figure out how to Input start and stop word for my Python wordlist generator.
Here is my code:
import itertools
wrds = 'abcd0123'
n = 5
for i in itertools.product(wrds, repeat = n):
a = ''.join(i)
print(a)
My generator is giving me output like this as usual: aaaaa, aaaab, aaaac,...
But how set the inputs in order to take a starting point and an ending point?.
My length is 5. I want to generate for example from aaac1 to aaad3. How can I achieve this? I'm completely stuck.