PyPassword generator

This commit is contained in:
authentik Default Admin 2026-05-20 13:11:06 +01:00
parent 6d1f32dc4b
commit 50a871353c

View file

@ -14,6 +14,7 @@ pass_numbers = int(input("How many numbers would you like\n"))
l = random.choices(letters, k=pass_letters)
s = random.choices(symbols, k=pass_symbols)
n = random.choices(numbers, k=pass_numbers)
password = l + s + n
random.shuffle(password)
print(''.join(password))