American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Python OOP – Gamas

October 19, 2022 @ 6:00 pm - 7:00 pm

Today We Did
  1. We reviewed Phone Book Dictionary homework.
  2. We learned how to loop through every element inside List.
Homework
  1. Change RobuxShoppingCart project (the one from Intro To Python class) to use dictionaries. If you don’t have this program, you can download from google drive (Aug10_RobuxSystem.py). This is very similar to what we did with ShoppingCart using dictionary. Look at Oct5_GroceryShoppingCartV2.py for reference. If you don’t have this file, it should be in the google drive.
    1. Basically you have to use 2 dictionaries one to store the name of the item and another one to store the price of the item.
    2. And then use these 2 dictionaries inside while loop to replace the hardcoded item name and price.
  2. If you don’t do your homework last week or 2 weeks ago, please submit your homeworks.

Details

Date:
October 19, 2022
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights