Closed haris-bit closed 2 years ago
Don't write your code here. Remove this comment. Create a new issue with heading "Create a Password generator program using Python." And Read the guidelines given in the folder before submitting the pull request.
Also add your code in the respective folders.
Don't write your code here. Remove this comment. Create a new issue with heading "Create a Password generator program using Python." And Read the guidelines given in the folder before submitting the pull request.
Also add your code in the respective folders.
@haris-bit
@haris-bit Create a new issue for your code
ok, done. I sent a pull request to your repo.
Code is below:
import random
print('Welcome to Your Password Generator')
chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*()_+0123456789'
number = input('Amount of Passwords to Generate: ') number = int(number)
length = input('Input your password length: ') length = int(length)
print('\nHere are your passwords:')
for pwd in range(number): password = '' for c in range(length): password += random.choice(chars) print(password)