Skip to content

Commit

Permalink
Merge pull request #1 from AliHaider20/patch-1
Browse files Browse the repository at this point in the history
Improved code
  • Loading branch information
vaarunh authored Jul 20, 2021
2 parents bc3ae7a + 56c99d8 commit 5ba80db
Showing 1 changed file with 8 additions and 24 deletions.
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")

0 comments on commit 5ba80db

Please sign in to comment.