fixing password gen and revenue retrieval 2 challenges

This commit is contained in:
Silen Naihin
2023-10-17 20:28:49 -07:00
parent 4fd3df9b87
commit 344ef3bf8b
2 changed files with 17 additions and 16 deletions

View File

@@ -24,5 +24,5 @@
"side_effects": []
},
"name": "PasswordGenerator",
"task": "Create a random password generator. The password should have between 8 and 16 characters and should contain letters, numbers and symbols. The password should be printed to the console. The entry point will be a python file that can be run this way: python password_generator.py [--len x] where x is the length of the password. If no length is specified, the password should be 8 characters long. The password_generator can also be imported as a module and called as password = password_generator.generate_password(len=x). Any invalid input should raise a ValueError."
"task": "Create a random password generator. The password should have between 8 and 16 characters and should contain at least one letter, number and symbol. The password should be printed to the console. The entry point will be a python file that can be run this way: python password_generator.py [--len x] where x is the length of the password. If no length is specified, the password should be 8 characters long. The password_generator can also be imported as a module and called as password = password_generator.generate_password(len=x). Any invalid input should raise a ValueError."
}

View File

@@ -16,21 +16,22 @@
".txt"
],
"should_contain": [
"15",
"112",
"117",
"204",
"413",
"2,014",
"3,198",
"4,046",
"7,000",
"11,759",
"21,461",
"24,578",
"31,536",
"53,823",
"81,462"
"15",
"112",
"117",
"204",
"413",
"2,013",
"2,014",
"3,198",
"4,046",
"7,000",
"11,759",
"21,461",
"24,578",
"31,536",
"53,823",
"81,462"
],
"should_not_contain": []
},