American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Intro To Python

February 19, 2021 @ 7:00 pm - 8:00 pm

  1. Homework:
    1. Feb19_ListForLoopHomework.py
    2. Create a list of String, “pizzas” : beef, peperoni, cheese, mushroom, bacon
    3. Create a for loop that will go through each element inside pizzas list and do the following
      1. if pizza is either beef, pepperoni or bacon, it will print “<pizza type> is a meat pizza”
      2. if pizza is cheese or mushroom, it will print “<pizza type> is a vegetarian pizza”
    4. Result should like this
      1. beef is a meat pizza
      2. pepperoni is a meat pizza
      3. cheese is a vegetarian pizza
      4. mushroom is a vegetarian pizza
      5. bacon is a meat pizza
  2. if you guys have question, you guys can email me at gamas@ayclogic.com or text me to 626-532-7844.

Details

Date:
February 19, 2021
Time:
7:00 pm - 8:00 pm
Event Categories:
,