Generating Password

 import random

t=int(input("enter number of characters "))


s="ABCDEFGHIJKLMNOPQRSTUVWZYZ\

abcdefghijklmnopqrstuvwxyz\

1234567890!@#$%^&*()_+=[]{}\

 "

m=""

for x in range(0,t):

l=random.randint(0,len(s))

m+=s[l]

pass

print("suggested password")

print(m)