import random, string for c in range(5): print random.sample(string.letters+string.digits, 8)