Skip to content
New issue

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

Improved code #1

Merged
merged 1 commit into from
Jul 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 8 additions & 24 deletions keypass.py
Original file line number Diff line number Diff line change
@@ -1,29 +1,13 @@
import random, os, sys

print ("STRONG PASSWORD GENERATOR")
print (" ")
print ("Tool By www.github.com/varunherlekar")

print (" ")
import random

print ("STRONG PASSWORD GENERATOR\n")
print ("Tool By www.github.com/varunherlekar\n")
print ("<===[[ coded by Varun Herlekar]]===>")

print (" ")


length=int(input("Enter The Length Of The Password: "))
print (" ")
print ("-----> Your Password Is Generated <----")
print (" ")
length=int(input("Enter The Length Of The Password: \n"))
print ("-----> Your Password Is Generated <----\n")
char="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890@#$%&*^"
password= (" ")
for i in range(length):

password+=random.choice(char)

password = "".join(random.choices(char,k=length))
print(password)
print (" ")
print ("-----> Copy The Password. Thank You For Using .<----")
print ("-----> Tool Created For WAP STTP Program.<----")
print (" ")

print ("-----> Copy The Password. Thank You For Using .<----\n")
print ("-----> Tool Created For WAP STTP Program.<----\n")