American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

4:30PM – Intro to Python

November 4, 2020 @ 4:30 pm - 5:30 pm

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

If you have any questions, please send an email to latisha@ayclogic.com

Details

Date:
November 4, 2020
Time:
4:30 pm - 5:30 pm