Skip to content

Commit 4e3ff7c

Browse files
committed
Initial
1 parent e514065 commit 4e3ff7c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

other/password_generator.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import string
2+
from random import *
3+
4+
letters = string.ascii_letters
5+
digits = string.digits
6+
symbols = string.punctuation
7+
chars = letters + digits + symbols
8+
9+
min_length = 8
10+
max_length = 16
11+
password = ''.join(choice(chars) for x in range(randint(min_length, max_length)))
12+
print('Password: %s' % password)
13+
print('[ If you are thinking of using this passsword, You better save it. ]')

0 commit comments

Comments
 (0)