American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Python OOP – Allison

June 13 @ 5:00 pm - 7:00 pm

What We Did Today

  1. Created PhoneBook
  2. Created Grocery System with dictionary

Homework

Create a file called June13_RobuxShoppingCart.py and submit into the google drive when you are finished:

  1. Make a copy of your RobuxShoppingCart file that you made in your Intro to Python class.
  2. Edit your copy so that you are using dictionaries instead of lists.
  3. The only list you should have is your shopping cart. Your item inventory and prices should be dictionaries.
  4. Your program should work the same as it did before (ex: ask the user what they want to purchase, break the loop when requested, etc.)
  5. Review the homework answers (see link at bottom)

Notes

  1. You can reach out via allison@ayclogic.com if you have any questions.
  2. Class notes and previous homework answers can be found here: Link to Google Drive

Details

Date:
June 13
Time:
5:00 pm - 7:00 pm
Event Categories:
,