Python Password Generator

This commit is contained in:
2024-05-10 22:36:40 +03:00
parent f2d0cb1c57
commit 6652378906
3 changed files with 76 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
import random
import string
total = string.ascii_letters + string.digits + string.punctuation
length = 16
password = "".join(random.sample(total, length))
print(password)