1# 32 characters 16 letters 14(remaining) integers
2import random
3import string
4i=0
5list_p=[]
6while i < 32:
7 while i < 18:
8 list_p.append(random.choice(string.ascii_letters))
9 i+=1
10 while i < 32:
11 list_p.append(random.randint(0, 9))
12 i+=1
13stringified_list = [str(i) for i in list_p]
14random.shuffle(stringified_list)
15new_password = "".join(stringified_list)