American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

6PM Python Level 2

May 18, 2019 @ 6:00 pm - 7:00 pm

  1. We improved “FoodRecommendation.py”
    1. We stopped duplication of food.
    2. We made the program not case sensitive.
    3. We learned about Python Dictionary.
  2. Homework
    1. Create a python file ‘May18_Homework_Dictionary.py’
      1. Create an empty dictionary called “food_prices”.
      2. Add the following data to the food_prices dictionary:
        1. “Chow Mien” : 10
        2. “Ca Kai Fan”: 9
        3. “Lo Mai Kai”: 5
        4. “Ca Siu”: 11
      3. Print the price of “Chow Mien” to the shell using “food_prices” dictionary.
      4. Print the price of “Ca Siu” to the shell using “food_prices” dictionary.

Details

Date:
May 18, 2019
Time:
6:00 pm - 7:00 pm
Event Categories:
,