Skip to content

Commit 687106b

Browse files
authored
Add files via upload
1 parent 81a13b8 commit 687106b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

PassGenerator.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import random
2+
3+
chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()'
4+
5+
number=int(input("Number of Passwords You want to Generate:"))
6+
length=int(input("Enter length of password:"))
7+
8+
9+
for i in range (number):
10+
password=''
11+
for k in range(length):
12+
password += random.choice(chars)
13+
print(password)
14+

0 commit comments

Comments
 (0)