American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Python OOP – Gamas

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

Today We Do
  1. We continued with FRI-7PM-Supermarket-OOP project.
  2. We added list_all_frozen_items(self) inside supermarket_practice.py
  3. We added find_item(self, item_name) inside supermarket_practice.py
  4. We added buy_game(self) inside supermarket_system.py
Homework
  1. there is no class on Nov 26 because of thanks giving.
  2. add code to make find_game(self, console) method.
  3. This method has to loop through all games inside self.game_dictionary and if the game.console the same with parameter console, we want to print the game.get_info().
  4. If there is no game matching the console parameter, print “There is no <console> game”.
  5. This method has to be called from buy_game(self) when user select either 1,2 or 3.

Details

Date:
November 19, 2021
Time:
7:00 pm - 8:00 pm
Event Category:
Verified by MonsterInsights