American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

4 PM – Python OOP – Darin

November 11 @ 4:00 pm - 5:00 pm

Today We:

  1. Continued and finished the supermarket application!
  2. Reviewed some design concepts such as indentation, placement of functions, automation of some aspects of the program.

Homework:

  1. Create the reset() function in your Supermarket Application that restarts what you have purchased and the price you owe.
  2. Refer to the google notes on how to remove an item from a dictionary.
  3. Use for loop to erase the items in your dictionary so it becomes empty.
  4. # your hw
    def reset(self):
        # reset the items_bought dictionary along with the price
        # use a for loop to clean the dictionary - help
        # set price = 0
        pass

Notes:

Email me at ddjapri@ayclogic.com if you have any questions.

Details

Date:
November 11
Time:
4:00 pm - 5:00 pm
Event Categories:
,
Verified by MonsterInsights