Pastebin
Paste #2669: No description
< previous paste - next paste>
Pasted by Anonymous Coward
def generate_strings(start, stop, alphabet="0123456789"): for x in product(*([alphabet[n:]] + [alphabet] * (slen -1))): s = ''.join(x) print s if s == stop: return generate_strings("100", "341")
New Paste
Go to most recent paste.