BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//American Young Coder - ECPv6.10.1.1//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:American Young Coder
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:20220313T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20221106T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20221130T180000
DTEND;TZID=America/Los_Angeles:20221130T190000
DTSTAMP:20260507T100332
CREATED:20221201T050152Z
LAST-MODIFIED:20221201T050222Z
UID:16651-1669831200-1669834800@www.ayclogic.com
SUMMARY:6 PM - Python OOP - Gamas
DESCRIPTION:Today We Did\n\nWe went over Restaurant class homework\n\nWe reviewed at Restaurant.set_number_served(sefl\, num) method that will change Restaurant.number_served attribute.\nWe reviewed at Restaurant.increment_number_served(self\, num) method that will increase Restaurant.number_served attribute.\n\n\nWe also went over how to use class inside ShoppingCart project.\nI uploaded all the files that we did in the class into google drive if you need to see: https://drive.google.com/drive/folders/1pqzz7Xd0Hf5MVGyQsoMqXdixRIqrZ5AH?usp=sharing\n\nHomework\n\nIf you did not finish last week’s homework\, please finish it by next week.\nInside Nov16_GrocceryShoppingCartUsingClass.py add the following features.\n\nAdd one more attribute to GroceryItem class: frozen_food\nAdd one more parameter in GrocerryItem.__init__ method: frozen_food\nInside items_dictionary variable update the creation of GroceryItem so you would add one more parameter which is the frozen_food parameter. Use “yes” or “false”. For example\, for “frozen pizza”\, you would do GroceryItem(“frozen pizza”\, 10\, “yes”) because “frozen pizza” is a frozen food.\nInside the while loop\, add code that will check if gi.frozen_food is equal to “yes” then add the name to frozen_item list.\nWhen you do all above codes\, then your program should not be able to list all frozen foods that you purchase like below\n\nWhat do you want to purchase:\n0. Frozen Pizza - $10\n1. Milk - $5\n2. Ice Cream - $4\n3. Bread - $6\n4. I am done\, checkout please\nEnter your selection: 0\nYou have purchased frozen pizza for $10\n\nWhat do you want to purchase:\n0. Frozen Pizza - $10\n1. Milk - $5\n2. Ice Cream - $4\n3. Bread - $6\n4. I am done\, checkout please\nEnter your selection: 1\nYou have purchased milk for $5\n\nWhat do you want to purchase:\n0. Frozen Pizza - $10\n1. Milk - $5\n2. Ice Cream - $4\n3. Bread - $6\n4. I am done\, checkout please\nEnter your selection: 2\nYou have purchased ice cream for $4\n\nWhat do you want to purchase:\n0. Frozen Pizza - $10\n1. Milk - $5\n2. Ice Cream - $4\n3. Bread - $6\n4. I am done\, checkout please\nEnter your selection: 4\n\nYou have purchased the following items: \nFROZEN PIZZA\nMILK\nICE CREAM\n\nPlease pay $19\, thank you for your business.\n\nDo not forget to put the following items in FREEZER\nFROZEN PIZZA\nICE CREAM
URL:https://www.ayclogic.com/event/6-pm-python-oop-gamas-8/
CATEGORIES:OOP Python,Python Class
END:VEVENT
END:VCALENDAR