https://youtu.be/SqvVm3QiQVk?si=TgLEVUYDSAZaC9qA&t=2535
import random
print('Welcome To Your Password Generator')
chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*().,?0123456789'
number = int(input('Amount of passwords to generate: '))
length = int(input('Input your password length: '))
print('\nhere are your passwords:')
for pwd in range(number):
passwords = ''
for c in range(length):
passwords += random.choice(chars)
print(passwords)
'Python' 카테고리의 다른 글
[Python] Qr코드 (0) | 2024.07.04 |
---|---|
[Python] 카운트다운 (0) | 2024.07.04 |
[Python] 12 Project - 06. Tic Tac Toe (0) | 2024.07.03 |
240627 파이썬 메모 (0) | 2024.06.27 |