26 English letters in upper and lower case and 0-9 to generate 8-bit random password

randomly generates eight digits with 26 English letter case and 0-9 to form
using module string and random.

” unpack string, list, dictionary front to add two “**”

import string
import random
sour = list(string.ascii_letters+string.digits)
print(*random.choices(sour, k=8))

Read More: