American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Python OOP – Darin

January 7 @ 6:00 pm - 7:00 pm

What We Did Today:

  1. Reviewed and finished the phone book system program, reviewing how to use dictionaries.
  2. Replaced our grocery system program to use a dictionary, making the code more efficient

Homework:

Create a new file called robuxSystemV2.py and do the following:

  1. Using your previous robuxSystem from Thonny, change it to use a dictionary to store the itemName and itemPrice in two separate dictionaries, as we did with grocery system!
  2. Make it so that the if, elif, and else structure is the same as GrocerySystem!

Submit these into the google drive when you are done!

Notes:

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

Details

Date:
January 7
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights