We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import string import random
if name == "main": s1 = string.ascii_lowercase #print(s1) s2 = string.ascii_uppercase #print(S2) s3 = string.digits #print(s3) s4 = string.punctuation #print(s4) plen = int(input("Enter the password length\n")) s = [] s.extend(list(s1)) s.extend(list(s2)) s.extend(list(s3)) s.extend(list(s4))
print("Your password is : ") print("".join(random.sample(s, plen))) #print("".join(s[0:plen]))
The text was updated successfully, but these errors were encountered:
this is a password generator application using Python, allowing users to specify the length and complexity of the password.
Sorry, something went wrong.
No branches or pull requests
import string
import random
if name == "main":
s1 = string.ascii_lowercase
#print(s1)
s2 = string.ascii_uppercase
#print(S2)
s3 = string.digits
#print(s3)
s4 = string.punctuation
#print(s4)
plen = int(input("Enter the password length\n"))
s = []
s.extend(list(s1))
s.extend(list(s2))
s.extend(list(s3))
s.extend(list(s4))
The text was updated successfully, but these errors were encountered: