- Homework: (Do this inside the Nov4_PasswordGenerator.py)
- Create a function called get_noun
- It will return a random noun from the nouns list with 1 parameter “mode”
- nouns = [“dog”, “cat”, “car”, “fish”, “boat”]
- Allow the user to enter a mode and return the random noun in that mode
- Create a function “random_password” no parameter.
- This function will do the following:
- Call random_adjective function UPPER
- Call random_action function LOWER
- Call random_noun function CAPITALIZE
- combine all of them together and return the combination of these 3 results.
- Call the “random_password” function and print to the shell.
If you have any questions, please send an email to latisha@ayclogic.com