BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//American Young Coder - ECPv6.10.1.1//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-ORIGINAL-URL:https://www.ayclogic.com
X-WR-CALDESC:Events for American Young Coder
REFRESH-INTERVAL;VALUE=DURATION:PT1H
X-Robots-Tag:noindex
X-PUBLISHED-TTL:PT1H
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:20250309T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20251102T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20250718T170000
DTEND;TZID=America/Los_Angeles:20250718T190000
DTSTAMP:20260506T015808
CREATED:20250720T043129Z
LAST-MODIFIED:20250720T050840Z
UID:29779-1752858000-1752865200@www.ayclogic.com
SUMMARY:5 PM – Python OOP – Allison
DESCRIPTION:What We Did Today\n\nFinished LibrarySystem project\n\nHomework\n\nRead the July18_main_with_bug_fixes file and update your own main.py from the Library System project. See the highlights and comments to see which parts should be updated. Updates include bug fixes and small ways to improve our code.\nMake sure to do the below code in your SupermarketSystem project\nWhen you’re done with the homework\, create a folder called July18_SupermarketSystem in your Google Drive. Upload main.py and book.py there.\nCreate grocery_item.py file.\n\nCreate a Grocery Item class. It should have  3 attributes: name\, price\, and frozen_food\n\n\nIn your main.py file:\n\nCreate an empty list called shopping_cart\nCreate a menu that says:\n\nWhat do you want to purchase:\n1. Ice Cream – $5\n2. Fish – $4\n3. Cookies  – $6\n4. I am done\, checkout please\nEnter your selection:\n\n\nCreate a dictionary called menu_items\nAdd the below to menu_items dictionary:\n\nkey: “1”\, value: Grocery Item with the name Ice Cream\, price 5\, and frozen_food = True\nkey: “2”\, value: Grocery Item with the name Fish\, price 4\, and frozen_food = True\nkey: “3”\, value: Grocery Item with the name Cookies\, price 6\, and frozen_food = False\n\n\nCreate an application loop\n\nIf user selection is invalid\, print invalid selection\nIf user selection is 4\, break out of while loop\nIf the user selection is something else:\n\nAdd the Grocery Item object the user chose to the shopping cart (hint: use your dictionary)\n\nEx: If the user selects option 2\, the Eggs Grocery Item should be added\n\n\nPrint: You have purchased {grocery object’s name} for ${grocery object’s price}\n\n\n\n\n\n\n Other\n\nAdd any missing parts of your class notes from our class notes (see link at bottom)\nReview the homework answers (see link at bottom)\n\n\n\nNotes\n\nYou can reach out via allison@ayclogic.com if you have any questions.\nClass notes and previous homework answers can be found here: Link to Google Drive
URL:https://www.ayclogic.com/event/5-pm-python-oop-allison-5/
CATEGORIES:OOP Python,Python Class
END:VEVENT
END:VCALENDAR