Python Generate random lowercase string which does not contain o,0, i, 1
Posted by jayapal at 10:46 PM
def code_generator(size=6):
chars = "abcdefghjklmnpqrstuvwxyz23456789"
return ''.join(random.choice(chars) for x in range(size))
0 Comments:
Subscribe to:
Post Comments (Atom)