Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 28fa9c0

Browse files
authored
main
sus
1 parent 3ffb243 commit 28fa9c0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

main.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# No comments in english version...
2+
import string, secrets, os
3+
clearthis = lambda: os.system('clear')
4+
5+
a = string.ascii_letters
6+
b = string.digits
7+
8+
c = input("What do you want to receive? [P(assword)/P(in)/N(ick)]: ")
9+
10+
if c == "P" or c == "p":
11+
d = input("What length password do you need? [infinite range]: ")
12+
e = ''.join(secrets.choice (a) for i in range(int(d)))
13+
clearthis()
14+
print("Your password is:")
15+
print(e)
16+
17+
if c == "P" or c == "p":
18+
d = input("What length of PIN do you need? [infinite range]: ")
19+
f = ''.join(secrets.choice (b) for i in range(int(d)))
20+
clearthis()
21+
print("Your PIN is:")
22+
print(f)
23+
24+
if c == "N" or c == "n":
25+
print("Soon 👀")

0 commit comments

Comments
 (0)