Password Generator using python
import random
lower='abcdefghijklmnopqrstuvwxyz'
upper = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
number = '0123456789'
symbol='[]{}#()*;._-'
all=lower+upper+number+symbol
length=8
i=1
while(i<=10):
password = "".join(random.sample(all,length))
print(password)
i+=1
No comments:
Post a Comment