- This event has passed.
4:30PM – Intro to Python
November 4, 2020 @ 4:30 pm - 5:30 pm
- 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
- It will return a random noun from the nouns list with 1 parameter “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.
- This function will do the following:
- Call the “random_password” function and print to the shell.
- Create a function called get_noun
If you have any questions, please send an email to latisha@ayclogic.com