Question: PYTHON - write a function that takes one argument: an alphabet string consisting of the possible characters that may occur in a password. The function
PYTHON - write a function that takes one argument: an alphabet string consisting of the possible characters that may occur in a password. The function should return a list of all possible passwords of length 3 from the given alphabet string.
For the purposes of this project, your program can be hard-coded to always call this function with the alphabet string abcdefghijklmnopqrstuvwxyz. However, the function itself should be fully general, working with any alphabet string you give it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
