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

Commit

Permalink
Updated main.py
Browse files Browse the repository at this point in the history
- Made info about name on run
- Fixed #1 and #2
- Still no nick 😈
  • Loading branch information
KwiatekMiki committed Oct 15, 2022
1 parent 28fa9c0 commit fb0aa0e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# No comments in english version...
import string, secrets, os
clearthis = lambda: os.system('clear')
clearthis = lambda: os.system('cls, clear')

a = string.ascii_letters
b = string.digits
print("=====================")
print("𝚙𝚊𝚜𝚜𝚗𝚙𝚒𝚗𝚐𝚎𝚗")
print("=====================")

c = input("What do you want to receive? [P(assword)/P(in)/N(ick)]: ")
c = input("What do you want to receive? [(assword)/(P)i̲(n)/N̲(ick)]: ")

if c == "P" or c == "p":
d = input("What length password do you need? [infinite range]: ")
Expand All @@ -14,7 +17,7 @@
print("Your password is:")
print(e)

if c == "P" or c == "p":
if c == "I" or c == "i":
d = input("What length of PIN do you need? [infinite range]: ")
f = ''.join(secrets.choice (b) for i in range(int(d)))
clearthis()
Expand Down

0 comments on commit fb0aa0e

Please sign in to comment.