DEV Community

shubh2346
shubh2346

Posted on

Password generator using python 😍

import random

lower ="abcdefghijklmnopqrstuvwxyz"
upper ="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
numbers ="0123456789"
symboles ="[]\•@#$&()"

all=lower+upper+numbers+symboles
length =16
pass ="".join(random.sample(all,length))
print(pass)

Top comments (0)