1import secrets
2secrets.token_hex(nbytes=16)
3
4# this will produce something like
5# aa82d48e5bff564f3221d02194611c13
1# -random letter generator-
2import string
3var1 = string.ascii_letters
4
5import random
6var2 = random.choice(string.ascii_letters)
7print(var2)
1import random
2
3#String
4string = "abcdefghijklmnopqrstuvwxyz"
5array = []
6for c in string:
7 array += [c]
8
9print(array[random.randint(0, len(array)-1)])
10
11# Faster and more efficient
12random.choice(string)