Skip to content

Commit 89fdbd8

Browse files
Added Password Generator
1 parent 42f3018 commit 89fdbd8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Password_Generator.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Password Generator Using Python.
2+
import random
3+
4+
lower_case = "abcdefghijklmnopqrstuvwxyz"
5+
upper_case = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6+
numbers = "0123456789"
7+
symbols = "[]{}#@()!$&*;.^_-:~"
8+
9+
merge = lower_case + upper_case + numbers + symbols
10+
lenght = 9
11+
12+
password = "".join(random.sample(merge,lenght))
13+
print("Generated Password is ",password)

0 commit comments

Comments
 (0)