We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbe4d5f commit ba97481Copy full SHA for ba97481
other/password_generator.py
@@ -16,7 +16,7 @@ def password_generator(length=8):
16
>>> len(password_generator(-1))
17
0
18
"""
19
- chars = tuple(ascii_letters) + tuple(digits) + tuple(punctuation)
+ chars = ascii_letters + digits + punctuation
20
return "".join(choice(chars) for x in range(length))
21
22
0 commit comments