mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-30 16:31:08 +00:00
Lowercase g --> Capital G (#5845)
* Updated the comments in the code * Update .gitignore * Update .gitignore * Update .gitignore Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
parent
1ae5abfc3c
commit
f4a16f607b
|
@ -1,4 +1,4 @@
|
||||||
"""Password generator allows you to generate a random password of length N."""
|
"""Password Generator allows you to generate a random password of length N."""
|
||||||
from random import choice, shuffle
|
from random import choice, shuffle
|
||||||
from string import ascii_letters, digits, punctuation
|
from string import ascii_letters, digits, punctuation
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ def password_generator(length=8):
|
||||||
# ctbi= characters that must be in password
|
# ctbi= characters that must be in password
|
||||||
# i= how many letters or characters the password length will be
|
# i= how many letters or characters the password length will be
|
||||||
def alternative_password_generator(ctbi, i):
|
def alternative_password_generator(ctbi, i):
|
||||||
# Password generator = full boot with random_number, random_letters, and
|
# Password Generator = full boot with random_number, random_letters, and
|
||||||
# random_character FUNCTIONS
|
# random_character FUNCTIONS
|
||||||
# Put your code here...
|
# Put your code here...
|
||||||
i = i - len(ctbi)
|
i = i - len(ctbi)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user