python generator list of random alphabet code example Example: random letter generator python import random import string random.choice(string.ascii_letters)