I'm trying to create something that will generate every possible combination for a word until 4 chars.
for example will start as a,b,c...aa,ab,ac...aaa,aab,aac...aaaa,aaab,aaac....zzzx,zzzy,zzzz
closest thing that i cam close to, was this:
import itertools
for i in range(4):
for combination in itertools.combinations('abcdefghijklmnopqrstuvwxyz-([{0123456789', i):
word = str(combination).replace("'", '').replace("(", '').replace(")", '').replace(" ", '').replace(",", '')
print(word)
the problem with this, is that it does not create combinations with same characters, like aa,bb,cc.