Skip to content

Shobhit-aryan/Password_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Password_generator

Very basic python program to generate password Explanation ascii_lowercase generates a string a-z lowercase character and store it in s1 ascii_uppercase generates a string A-Z uppercase character and store it in s2 digits generates a string 0-9 digits and store it in s3 punctuation generates a string "!"#$%&'()*+,-./:;<=>?@{|}~ " and store it in s4 s is an empty list extends function add all the elements of s1,s2,s3,s4 in s random.shuffle shuffles all the elments of list s join function in the printing statements take s[0] to s[l] and join them together and print it where l is the length of the password entered by user

About

Very basic python program to genrate password

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages