From 3396a82e375c353c7d6cd8f89fbdcbcc53c868dc Mon Sep 17 00:00:00 2001
From: sthope <sthope@git.sthope>
Date: Sat, 28 Aug 2021 20:40:51 +0200
Subject: [PATCH] Update 'randomPwd.py'

---
 randomPwd.py                 | 21 +++++++++++++++++++++
 random_passwords/random18.py | 20 --------------------
 2 files changed, 21 insertions(+), 20 deletions(-)
 create mode 100644 randomPwd.py
 delete mode 100644 random_passwords/random18.py

diff --git a/randomPwd.py b/randomPwd.py
new file mode 100644
index 0000000..3397d43
--- /dev/null
+++ b/randomPwd.py
@@ -0,0 +1,21 @@
+import random
+import string
+
+def randomPwd(length):
+    chars = string.ascii_letters + string.digits
+    pwd = ''.join(random.choice(chars) for i in range(length))
+    print(pwd)
+
+# 10 Random Passwords
+randomPwd(18)
+randomPwd(18)
+randomPwd(18)
+randomPwd(18)
+randomPwd(18)
+randomPwd(18)
+randomPwd(18)
+randomPwd(18)
+randomPwd(18)
+randomPwd(18)
+randomPwd(18)
+#######################
\ No newline at end of file
diff --git a/random_passwords/random18.py b/random_passwords/random18.py
deleted file mode 100644
index fc9f28e..0000000
--- a/random_passwords/random18.py
+++ /dev/null
@@ -1,20 +0,0 @@
-import random
-import string
-
-def random_password(length):
-    chars = string.ascii_letters + string.digits
-    password = ''.join(random.choice(chars) for i in range(length))
-    print(password)
-
-
-random_password(18)
-random_password(18)
-random_password(18)
-random_password(18)
-random_password(18)
-random_password(18)
-random_password(18)
-random_password(18)
-random_password(18)
-random_password(18)
-random_password(18)