Initial upload

This commit is contained in:
Mueez Khan 2021-03-25 08:58:09 -04:00 committed by GitHub
commit bf8a8f965d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 77 additions and 0 deletions

14
password_generator.py Normal file
View file

@ -0,0 +1,14 @@
import random
chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*?0123456789'
print('Welcome To Your Password Generator')
number = int(input("How many passwords would you like to generate? "))
length = int(input("Enter a password length? "))
print("\nHere are your passwords:")
for pwd in range(number):
passwords = ''
for c in range(length):
passwords += random.choice(chars)
print(passwords)