Commit b08cdae2 authored by Akhil's avatar Akhil

password generator

parent f55b7abe
import random
lowercase = 'abcdefghijklmnopqrstuvwxyz'
uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
numbers = '0123456789'
specialchar = '!@$&[]{},./:;*-_'
all = lowercase + uppercase + numbers + specialchar
length = 16
password = "".join(random.sample(all, length))
print(password)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment