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
-
Notifications
You must be signed in to change notification settings - Fork 0
Shobhit-aryan/Password_generator
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Very basic python program to genrate password
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published