mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-30 16:31:08 +00:00
Pass flake8 tests
Without these changes, Python syntax errors are raised. flake8 should be run by this repo's .travis.yml file but it is currently turned off.
This commit is contained in:
parent
ee6e5a42cd
commit
4adf3b9492
|
@ -13,17 +13,23 @@ max_length = 16
|
||||||
password = ''.join(random.choice(chars) for x in range(random.randint(min_length, max_length)))
|
password = ''.join(random.choice(chars) for x in range(random.randint(min_length, max_length)))
|
||||||
print('Password: ' + password)
|
print('Password: ' + password)
|
||||||
print('[ If you are thinking of using this passsword, You better save it. ]')
|
print('[ If you are thinking of using this passsword, You better save it. ]')
|
||||||
|
|
||||||
|
|
||||||
# ALTERNATIVE METHODS
|
# ALTERNATIVE METHODS
|
||||||
# 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 password_generator(ctbi, i):
|
def password_generator(ctbi, i):
|
||||||
# Password generator = full boot with random_number, random_letters, and random_character FUNCTIONS
|
# Password generator = full boot with random_number, random_letters, and random_character FUNCTIONS
|
||||||
|
pass # Put your code here...
|
||||||
|
|
||||||
|
|
||||||
def random_number(ctbi, i):
|
def random_number(ctbi, i):
|
||||||
|
pass # Put your code here...
|
||||||
|
|
||||||
|
|
||||||
def random_letters(ctbi, i):
|
def random_letters(ctbi, i):
|
||||||
|
pass # Put your code here...
|
||||||
|
|
||||||
|
|
||||||
def random_characters(ctbi, i):
|
def random_characters(ctbi, i):
|
||||||
|
pass # Put your code here...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user