We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 258bf2f commit 040ffd5Copy full SHA for 040ffd5
RandomPassword/password.py
@@ -0,0 +1,15 @@
1
+import string
2
+import random
3
+
4
+passwrd = string.ascii_letters+string.digits+string.punctuation
5
6
+numPass = int(input("How many passwords do you need to be generated? "))
7
+length = int(input("Enter the length of the password(s): "))
8
9
+print("List(s) of Generated passwords: ")
10
11
+for pwd in range(numPass):
12
+ pw=''
13
+ for c in range(length):
14
+ pw += random.choice(passwrd)
15
+ print(pw)
RandomPassword/password1.png
38.5 KB
0 commit comments