« All Events
7 PM – Python OOP – Gamas
November 19, 2021 @ 7:00 pm - 8:00 pm
Today We Do
- We continued with FRI-7PM-Supermarket-OOP project.
- We added list_all_frozen_items(self) inside supermarket_practice.py
- We added find_item(self, item_name) inside supermarket_practice.py
- We added buy_game(self) inside supermarket_system.py
Homework
- there is no class on Nov 26 because of thanks giving.
- add code to make find_game(self, console) method.
- 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().
- If there is no game matching the console parameter, print “There is no <console> game”.
- This method has to be called from buy_game(self) when user select either 1,2 or 3.