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:20230312T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20231105T090000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:20240310T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20241103T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240716T180000
DTEND;TZID=America/Los_Angeles:20240716T190000
DTSTAMP:20260506T022128
CREATED:20240717T031750Z
LAST-MODIFIED:20240717T035540Z
UID:25997-1721152800-1721156400@www.ayclogic.com
SUMMARY:6 PM - Python OOP - Darin
DESCRIPTION:What We Did Today:\n\nFinished Library\n\nHomework:\nContinue working on SupermarketApplication and do the following: \n\nAdd print statements using item.name and item.price in each of the if statements.\nOutside the while loop\, use a for loop to print each items name (you have to consider how to get the names of each item in the list)\n\nRefer to the comments below: \n\ndef application_loop(self):\n    while True:\n        selection = input(self.menu)\n        if selection == "1":\n            item = self.menu_items["1"]\n            self.shopping_cart.append(item)\n            # print "you bought {name} for {price}"\n        elif selection == "2":\n            item = self.menu_items["2"]\n            self.shopping_cart.append(item)\n        elif selection == "3":\n            item = self.menu_items["3"]\n            self.shopping_cart.append(item)\n        elif selection == "4":\n            break\n    # right here outide the while loop\n    # use a for loop to print the items in the shopping_cart list\nNotes:\nIf you have any questions\, you can contact me at ddjapri@ayclogic.com
URL:https://www.ayclogic.com/event/6-pm-python-oop-darin/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240709T180000
DTEND;TZID=America/Los_Angeles:20240709T190000
DTSTAMP:20260506T022128
CREATED:20240710T005542Z
LAST-MODIFIED:20240710T070753Z
UID:25888-1720548000-1720551600@www.ayclogic.com
SUMMARY:6 PM – Python OOP – Darin (William Sub)
DESCRIPTION:What We Did Today:\n\nContinued Library System\, emphasizing the usage of dictionaries.\n\nHomework:\nContinue working on LibrarySystem\, and do the following: \n\nImplement the list_all_old_books method which lists books that have a publish year lesser than 2000.\n\n\n\ndef list_all_old_books(self):\n    # same thing as list_all_books except you only print the books whose publish years are less than 2000\n    print("\n LIST ALL OLD BOOKS (older than 2000)")\n    # to implement as hw\n\n\n  \nNotes:\nIf you have any questions\, you can email me at ddjapri@ayclogic.com !!
URL:https://www.ayclogic.com/event/6-pm-python-oop-darin-william-sub-3/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240625T180000
DTEND;TZID=America/Los_Angeles:20240625T190000
DTSTAMP:20260506T022128
CREATED:20240626T032200Z
LAST-MODIFIED:20240626T032833Z
UID:25747-1719338400-1719342000@www.ayclogic.com
SUMMARY:6 PM – Python OOP – Darin (William Sub)
DESCRIPTION:Next week is a holiday\, we will meet again on July 9.\n  \nWhat We Did Today:\n\nFinished School System by implementing the find methods.\nStarted on LibrarySystem\, which is similar to School System\n\nHomework:\nContinue working on LibrarySystem\, and do the following: \n\nRemove the main character attribute for the book class\, its easier to do without it.\nAdd the following options to the menu:\n\n1. Add book (the year should be an integer)\n2. List all books\n3. Find book by name (using the dictionary\, in the same way we did with SchoolSystem)\n\n\n\nExample output: \n\nPlease look at below options\n1. Add book\n2. List all books\n3. Find book by name\n4. Find book by id\n5. List all old books\nEnter your selection. Enter ‘quit’ to exit: 1 \nADD BOOK\nEnter book title: Harry Potter\nEnter book author: JK Rowling\nEnter book publish year: 1999\nEnter book id: 123 \nPlease look at below options\n1. Add book\n2. List all books\n3. Find book by name\n4. Find book by id\n5. List all old books\nEnter your selection. Enter ‘quit’ to exit: 1 \nADD BOOK\nEnter book title: my book\nEnter book author: me\nEnter book publish year: 2024\nEnter book id: 1234 \nPlease look at below options\n1. Add book\n2. List all books\n3. Find book by name\n4. Find book by id\n5. List all old books\nEnter your selection. Enter ‘quit’ to exit: 2 \nLIST ALL BOOKS\nHarry Potter – JK Rowling – 1999 – 123\nmy book – me – 2024 – 1234 \nPlease look at below options\n1. Add book\n2. List all books\n3. Find book by name\n4. Find book by id\n5. List all old books\nEnter your selection. Enter ‘quit’ to exit: 3 \nFIND A BOOK\nEnter the title of the book to find: uhh\nNo book with the title uhh exists. \nPlease look at below options\n1. Add book\n2. List all books\n3. Find book by name\n4. Find book by id\n5. List all old books\nEnter your selection. Enter ‘quit’ to exit: 3 \nFIND A BOOK\nEnter the title of the book to find: Harry Potter\nHarry Potter – JK Rowling – 1999 – 123 \n\n  \nNotes:\nIf you have any questions\, you can email me at ddjapri@ayclogic.com !!
URL:https://www.ayclogic.com/event/6-pm-python-oop-darin-william-sub-2/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240618T180000
DTEND;TZID=America/Los_Angeles:20240618T190000
DTSTAMP:20260506T022128
CREATED:20240619T022439Z
LAST-MODIFIED:20240619T023701Z
UID:25650-1718733600-1718737200@www.ayclogic.com
SUMMARY:6 PM – Python OOP – Darin (William Sub)
DESCRIPTION:What We Did Today:\n\nContinued School System\nImplemented the listing methods for both the student and teacher\nConverted the main.py file into a class called SchoolSystem\n\nHomework:\nContinue working on SchoolSystem\, but first take the notes from google drive (click here) to make sure your code is working properly after converting the main.py into a class: \n\nAdd the following options to the menu:\n\n3. Find student\n6. Find teacher\n(See example output for the output of these methods)\n\n\nFor each find method\,\n\nExample output: \n\nSelect one of the following options:\n    1. Add student\n    2. List all students (list)\n    3. Find student\n    4. Add new teacher\n    5. List all teachers (list)\n    6. Find teacher\n    7. List all teachers (dictionary)\n    8. List all students (dictionary)\nEnter your selection (enter "exit" to quit): 1\n\nADD NEW STUDENT\nEnter student's name: Darin\nEnter student's age: 20\nEnter student's grade: 12\nYou have added a new student Darin into the system.\n\nSelect one of the following options:\n    1. Add student\n    2. List all students (list)\n    3. Find student\n    4. Add new teacher\n    5. List all teachers (list)\n    6. Find teacher\n    7. List all teachers (dictionary)\n    8. List all students (dictionary)\nEnter your selection (enter "exit" to quit): 1\n\nADD NEW STUDENT\nEnter student's name: Parker\nEnter student's age: 12\nEnter student's grade: 7\nYou have added a new student Parker into the system.\n\nSelect one of the following options:\n    1. Add student\n    2. List all students (list)\n    3. Find student\n    4. Add new teacher\n    5. List all teachers (list)\n    6. Find teacher\n    7. List all teachers (dictionary)\n    8. List all students (dictionary)\nEnter your selection (enter "exit" to quit): 4\n\nADD NEW TEACHER\nEnter teacher's name: Darin\nEnter teacher's age: 21\nEnter teacher's subject expertise: Math\nYou have added a new teacher Darin into the system.\n\nSelect one of the following options:\n    1. Add student\n    2. List all students (list)\n    3. Find student\n    4. Add new teacher\n    5. List all teachers (list)\n    6. Find teacher\n    7. List all teachers (dictionary)\n    8. List all students (dictionary)\nEnter your selection (enter "exit" to quit): 4\n\nADD NEW TEACHER\nEnter teacher's name: Gary\nEnter teacher's age: 20\nEnter teacher's subject expertise: Chemistry\nYou have added a new teacher Gary into the system.\n\nSelect one of the following options:\n    1. Add student\n    2. List all students (list)\n    3. Find student\n    4. Add new teacher\n    5. List all teachers (list)\n    6. Find teacher\n    7. List all teachers (dictionary)\n    8. List all students (dictionary)\nEnter your selection (enter "exit" to quit): 3\n\nFIND STUDENT\nEnter student name that you want to find: Darin\nDarin - 20 years old - grade 12 \n\nSelect one of the following options:\n    1. Add student\n    2. List all students (list)\n    3. Find student\n    4. Add new teacher\n    5. List all teachers (list)\n    6. Find teacher\n    7. List all teachers (dictionary)\n    8. List all students (dictionary)\nEnter your selection (enter "exit" to quit): 3\n\nFIND STUDENT\nEnter student name that you want to find: bob\nWe couldn't find Bob in our Student list.\n\nSelect one of the following options:\n    1. Add student\n    2. List all students (list)\n    3. Find student\n    4. Add new teacher\n    5. List all teachers (list)\n    6. Find teacher\n    7. List all teachers (dictionary)\n    8. List all students (dictionary)\nEnter your selection (enter "exit" to quit): 6\n\nFIND TEACHER\nEnter teacher name that you want to find: Darin\nDarin - 21 years old - teaches Math\n\n  \nNotes:\nIf you have any questions\, you can email me at ddjapri@ayclogic.com !!
URL:https://www.ayclogic.com/event/6-pm-python-oop-darin-william-sub/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240611T180000
DTEND;TZID=America/Los_Angeles:20240611T190000
DTSTAMP:20260506T022128
CREATED:20240612T022959Z
LAST-MODIFIED:20240612T022959Z
UID:25557-1718128800-1718132400@www.ayclogic.com
SUMMARY:6 PM – Python OOP – William
DESCRIPTION:Today We:\n\nReviewed homework/OOP Concepts\nStarted SchoolSystem\n\nCreated Student class for add_student()\nCreated list and dictionary to store students\n\n\n\nHomework:\nContinue working on SchoolSystem: \n\nAdd the following options to the menu:\n\n2. List all students (list)\n3. List all students (dictionary)\n(See example output for the output of these methods)\n\n\nCreate option 4: Add new teacher\, similar to Add student\n\nCreate a new file teacher.py; each teacher has the following attributes:\n\nname\nage\nsubject_of_expertise\n\n\nCreate a new teacher with attributes based on user input\nStore teachers in both a list and dictionary\n\n\n\nExample output: \nPlease select one of the following\n1. Add student\n2. List all students (list)\n4. Add teacher\n8. List all students (dictionary)\nEnter your selection (Enter "exit" to quit): 1\n\nADD NEW STUDENT\nEnter student's name: Joe M.\nEnter student's age: 21\nEnter student's grade: 9\nYou have added a new student Joe M. in our system.\n\nPlease select one of the following\n1. Add student\n2. List all students (list)\n4. Add teacher\n8. List all students (dictionary)\nEnter your selection (Enter "exit" to quit): 2\n\nLIST ALL STUDENTS (LIST)\nJoe M. - 21 years old - Grade 9\n\nPlease select one of the following\n1. Add student\n2. List all students (list)\n4. Add teacher\n8. List all students (dictionary)\nEnter your selection (Enter "exit" to quit): 8\n\nLIST ALL STUDENTS (DICTIONARY)\nJoe M. - 21 years old - Grade 9\n\nPlease select one of the following\n1. Add student\n2. List all students (list)\n4. Add teacher\n8. List all students (dictionary)\nEnter your selection (Enter "exit" to quit): 4\n\nADD NEW TEACHER\nEnter teacher's name: William\nEnter teacher's age: 19\nEnter teacher's subject of expertise: Python OOP\nWilliam was successfully added to the system!\n\nIf you have any questions\, please email me at williamsmith@ayclogic.com.
URL:https://www.ayclogic.com/event/6-pm-python-oop-william-6/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240521T180000
DTEND;TZID=America/Los_Angeles:20240521T190000
DTSTAMP:20260506T022128
CREATED:20240522T020804Z
LAST-MODIFIED:20240522T020804Z
UID:25192-1716314400-1716318000@www.ayclogic.com
SUMMARY:6 PM – Python OOP – William
DESCRIPTION:Today We Did\n\nCreated GrocerySystemV2 using Dictionaries\nOverview of Object-Oriented Programming\n\nHomework\nCreate a file named May21_RobuxShoppingV2.py: \n\nModify your original RobuxShopping code from Intro to Python to use dictionaries instead of multiple if-elif statements (similar to GrocerySystemV2)\nIf you can’t find it\, feel free to use https://drive.google.com/file/d/1wrYX6Q8jobepO0G8SNKdCK_UyW3BHSD4/view?usp=sharing\n\nIf you have any questions\, please email me at williamsmith@ayclogic.com.
URL:https://www.ayclogic.com/event/6-pm-python-oop-william-3/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240514T180000
DTEND;TZID=America/Los_Angeles:20240514T190000
DTSTAMP:20260506T022128
CREATED:20240515T021400Z
LAST-MODIFIED:20240515T021412Z
UID:25114-1715709600-1715713200@www.ayclogic.com
SUMMARY:6 PM – Python OOP – William
DESCRIPTION:Today We Did\n\nBenchmarked dictionary vs. list\nReviewed dictionary concepts\n\nLooping through keys\, values\ndict.items()\n\n\n\nHomework\nFollow the instructions at: https://www.ayclogic.com/phone-book-system/ \nIf you want supplemental reading about dictionaries\, check out the textbook: \n\npages 99-105 in 2nd Edition\npages 99-104 in 3rd Edition\n\nIf you have any questions\, please email me at williamsmith@ayclogic.com.
URL:https://www.ayclogic.com/event/6-pm-python-oop-william-2/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240507T180000
DTEND;TZID=America/Los_Angeles:20240507T190000
DTSTAMP:20260506T022128
CREATED:20240508T022906Z
LAST-MODIFIED:20240508T022906Z
UID:25040-1715104800-1715108400@www.ayclogic.com
SUMMARY:6 PM – Python OOP – William
DESCRIPTION:Today We Did\n\nInstalled PyCharm Community Edition + created project\nLearned about Python dictionaries\n\nKey\, value\nAdd/update entries\nGet/delete entries\n\n\n\nCode for today’s and future lessons can be found here (you should have also received an email invitation): https://drive.google.com/drive/folders/17XcqHzIZtEH5DYpa_PFBC0GURq4GKO5j?usp=drive_link \nIf you haven’t installed PyCharm yet\, follow these instructions: \n\nInstall PyCharm Community Edition (scroll down):  https://www.jetbrains.com/pycharm/download/\nFollow the default installation steps\, may require a reboot\nCreate a new project called PythonOOP\nTo add today’s code\, select File -> New -> Python File\n\nHomework\nCreate a file called May7_DictionaryHW.py: \n\nRead page 92-97 in the textbook and copy the code down.\nComplete TRY IT YOURSELF 6-1 and 6-2 on page 99\n\nIf you don’t have the textbook\, email me! \nIf you have any questions\, please email me at williamsmith@ayclogic.com.
URL:https://www.ayclogic.com/event/6-pm-python-oop-william/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240403T190000
DTEND;TZID=America/Los_Angeles:20240403T200000
DTSTAMP:20260506T022128
CREATED:20240404T040753Z
LAST-MODIFIED:20240404T040827Z
UID:24614-1712170800-1712174400@www.ayclogic.com
SUMMARY:7 PM - Python OOP - Darin
DESCRIPTION:FINAL EXAM IS NEXT WEEK!\nSo you have to study the past projects and finish up the final exam review.\nToday We Did \n\nWent over the final exam review\, going over similar topics such as inheritance\, different class usage\, and analyzing/pinpointing what needs to be done to complete a problem given a question.\n\nHomework\n\nHomework: Complete the remainder for the project described in the link below\, as explained in class: https://forms.gle/zHY5VnDP4pzFzxr9A\nFor the NewYorkCityDriver class\, you need to correct your code to this for the __init__ method:\ndef __init__(self\, name\, speed):\n    super().__init__(name\, speed\, type="New York Taxi Driver")\nIt is redundant to have to set self.type = type because the super() immediately do that.\nYou need to make sure the output of your code matches the output expected in the question\, so in the add_driver() method\, you need to add one more print statement.\nCreate selection 2 and selection 3 and that will be it.\nYour final goal is to make sure that your output can match the given sample output\, and that is how you maximize your score.\n\n  \nNOTES:\nIn case you need anything\, feel free to email me at ddjapri@ayclogic.com
URL:https://www.ayclogic.com/event/7-pm-python-oop-darin/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240327T190000
DTEND;TZID=America/Los_Angeles:20240327T200000
DTSTAMP:20260506T022128
CREATED:20240328T030338Z
LAST-MODIFIED:20240328T030345Z
UID:24552-1711566000-1711569600@www.ayclogic.com
SUMMARY:7 PM – Python OOP – Sebastian
DESCRIPTION:Today We Did \n\nFull review of object oriented programming and inheritance\nFull explanation of homework assignment.\nAYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nHomework: Complete the project described in the link below\, as explained in class: https://forms.gle/zHY5VnDP4pzFzxr9A
URL:https://www.ayclogic.com/event/7-pm-python-oop-sebastian-12/
CATEGORIES:OOP Python
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240320T190000
DTEND;TZID=America/Los_Angeles:20240320T200000
DTSTAMP:20260506T022128
CREATED:20240323T205454Z
LAST-MODIFIED:20240323T205454Z
UID:24488-1710961200-1710964800@www.ayclogic.com
SUMMARY:7 PM – Python OOP – Sebastian
DESCRIPTION:Today We Did \n\nAdded remaining logic for monster system project\nOnly need to fix bugs for next class\nAYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nPlease submit your homework to the corresponding project’s folder in your Google Drive\nHomework: Page 173 in the book\, sections 9-6 and 9-7.
URL:https://www.ayclogic.com/event/7-pm-python-oop-sebastian-11/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240314T163000
DTEND;TZID=America/Los_Angeles:20240314T173000
DTSTAMP:20260506T022128
CREATED:20240318T064601Z
LAST-MODIFIED:20240318T064601Z
UID:24422-1710433800-1710437400@www.ayclogic.com
SUMMARY:4:30pm – Python OOP – Roland
DESCRIPTION:Today We Did \n\nSetup SchoolSystem project on local computer Continued working on SchoolSystem Project\n\nFind a teacher\nList all teachers dictionaries\nList all students dictionaries\nAdd staff\n\n\n\nHomework \nContinue working on the SchoolSystem project. Try to finish as much as you can. Implement the following at the least: \n\nList all staffs using List\nList all staffs that is younger than 20\nFind a staff by name using List\nFind staff using Dictionary\n\nIf you have any questions\, feel free to email me at rolandyang@ayclogic.com
URL:https://www.ayclogic.com/event/430pm-python-oop-roland-4/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240313T190000
DTEND;TZID=America/Los_Angeles:20240313T200000
DTSTAMP:20260506T022128
CREATED:20240314T030333Z
LAST-MODIFIED:20240314T030333Z
UID:24338-1710356400-1710360000@www.ayclogic.com
SUMMARY:7 PM – Python OOP – Sebastian
DESCRIPTION:Today We Did \n\nLearned about how to call methods from a parent class\, while inside a child class using super()\nContinued building out our monster adventure game\nAYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nPlease submit your homework to the corresponding project’s folder in your Google Drive\nHomework: 9-6 and 9-7 from the book\, page 173
URL:https://www.ayclogic.com/event/7-pm-python-oop-sebastian-10/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240306T190000
DTEND;TZID=America/Los_Angeles:20240306T200000
DTSTAMP:20260506T022128
CREATED:20240307T040120Z
LAST-MODIFIED:20240307T040120Z
UID:24210-1709751600-1709755200@www.ayclogic.com
SUMMARY:7 PM – Python OOP – Sebastian
DESCRIPTION:Today We Did \n\nFirst reviewed what 2 things all classes have\, so that we really can understand what it means to inherit a class:\n\nMethods (functions inside of classes)\nAttributes (variables shared between methods)\n\n\nLearned that inheritance is when a child class inherits every method from a parent class\nLearned how child classes can override methods from a parent class to become unique\, and have special method behavior\nAYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nPlease submit your homework to the corresponding project’s folder in your Google Drive\, and name the file MAR6_inheritance_hw.py\nHomework: Copy code from pages 168 – 170
URL:https://www.ayclogic.com/event/7-pm-python-oop-sebastian-9/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240228T190000
DTEND;TZID=America/Los_Angeles:20240228T200000
DTSTAMP:20260506T022128
CREATED:20240302T230519Z
LAST-MODIFIED:20240302T230519Z
UID:24141-1709146800-1709150400@www.ayclogic.com
SUMMARY:7 PM – Python OOP – Sebastian
DESCRIPTION:Today We Did \n\nBegan Monster Inheritance project\nCreated basic MonsterSystem class\nAYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nPlease come to class with the following written down\, ready to explain to me (you don’t have to submit this anywhere\, but please have it ready before class)\n\nHow do you add to a dictionary? For example\, if I have the following code\, how would I map the key “cat” to the value “Momo”?\n\npet_to_name = {"dog": "Spike"}\n\n\nHow do I make an instance of a class (an object)? For example\, if I had the following code\, how could I make an instance of the Animal class?\n\nclass Animal:\n    \n    def __init__(self\, name):\n        self.name = name\n        \n    def get_info(self):\n        return self.name\n\n\nHow do I call an object’s method? After you made an instance of the Animal class (above)\, show me how we can call the get_info() method\, and print its return value.
URL:https://www.ayclogic.com/event/7-pm-python-oop-sebastian-8/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240221T190000
DTEND;TZID=America/Los_Angeles:20240221T200000
DTSTAMP:20260506T022128
CREATED:20240226T151925Z
LAST-MODIFIED:20240226T151925Z
UID:24062-1708542000-1708545600@www.ayclogic.com
SUMMARY:7 PM – Python OOP – Sebastian
DESCRIPTION:Today We Did \n\nFinished Grocery System project\nAYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nCome into class ready to answer the following questions\n\nWhat 2 things are dictionaries made out of?\nHow do we create a dictionary which maps “name” to your name?\nHow do we create an empty dictionary first\, which then maps “name” to your name?
URL:https://www.ayclogic.com/event/7-pm-python-oop-sebastian-7/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240214T190000
DTEND;TZID=America/Los_Angeles:20240214T200000
DTSTAMP:20260506T022128
CREATED:20240215T035851Z
LAST-MODIFIED:20240215T035851Z
UID:23902-1707937200-1707940800@www.ayclogic.com
SUMMARY:7 PM – Python OOP – Sebastian
DESCRIPTION:Today We Did \n\nReviewed the idea of object oriented programming\, and how we’re going to use it for our Supermarket and GroceryItem class\nCreated print_menu method\nAdded multiple grocery item objects to inventory dictionary\nAYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nPlease submit your homework to the corresponding project’s folder in your Google Drive\nHomework: Inside our main.py\, in the application_loop method:\n \n\nCreate an infinite loop\nPrint out menu for user\nAsk user for user input\, asking “Enter your selection”
URL:https://www.ayclogic.com/event/7-pm-python-oop-sebastian-6/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240207T190000
DTEND;TZID=America/Los_Angeles:20240207T200000
DTSTAMP:20260506T022128
CREATED:20240209T044907Z
LAST-MODIFIED:20240209T044907Z
UID:23805-1707332400-1707336000@www.ayclogic.com
SUMMARY:7 PM – Python OOP – Sebastian
DESCRIPTION:Today We Did \n\nFinished library system project\nBegan school system project\nRecreated grocery item class\nAYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nPlease submit your homework to the corresponding project’s folder in your Google Drive\nHomework: Recall the print_menu() function in the old code (main_v1.py in the Google Drive). We will be creating our own version of it using OOP for the homework.\n\nAsk the user what they want to purchase using a normal print statement\nLoop through each grocery item inside the inventory attribute (there aren’t any yet\, but we’ll add grocery item objects next class).\nPrint out each grocery item’s name and price in the loop.\nAsk for user input\, asking “Enter your selection: ” outside of the loop.\nReturn user input\n\n\nThe homework looks like a lot\, but it’s almost identical to the content in the print_menu() from our original main_v1.py\, so please use the file in our Google Drive to help you.
URL:https://www.ayclogic.com/event/7-pm-python-oop-sebastian-5/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240124T190000
DTEND;TZID=America/Los_Angeles:20240124T200000
DTSTAMP:20260506T022128
CREATED:20240125T193708Z
LAST-MODIFIED:20240125T193708Z
UID:23622-1706122800-1706126400@www.ayclogic.com
SUMMARY:7 PM – Python OOP – Sebastian
DESCRIPTION:Today We Did \n\nAdd a classroom\nList all classrooms using a list\nList all classrooms using a dictionary\nFind classrooms using dictionary\nAYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nPlease submit your homework to the corresponding project’s folder in your Google Drive\nHomework: Finish our find_classroom_using_list() method\n\nAsk the user for a subject they want to find\nLook at each object inside our classroom_list attribute\, and check if it has a subject attribute with the same value as what the user asked for\n\nIf there is a match\, then print out the classroom info and end the function (remember how we exit out of a function!).\n\n\nIf we looked at every single classroom in our list\, and none of them have a matching name\, tell the user that the classroom doesn’t exist.
URL:https://www.ayclogic.com/event/7-pm-python-oop-sebastian-3/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240122T170000
DTEND;TZID=America/Los_Angeles:20240122T180000
DTSTAMP:20260506T022128
CREATED:20240123T030349Z
LAST-MODIFIED:20240123T030358Z
UID:23570-1705942800-1705946400@www.ayclogic.com
SUMMARY:5 PM - Python OOP - Darin
DESCRIPTION:Today We Did\n\nContinued the Monster Inheritance project\, where now we are able to fight the monsters by playing as a character we created by making a self.player_name and self.player_health attribute in the monster_system file.\nCreated the functionality to do sword damage to the monsters of our choosing\, and reduce their health.\n\nHomework\nSTART and complete the final practice quiz shared to your email (I also shared it in the class in the chat)\, it will take about one hour\, and remember that the final itself will NOT be open-book. (if you don’t have the quiz\, or can’t access it\, let me know in the email as soon as possible) \nRe-Upload monster.py\, troll.py\, dragon.py\, water_golem.py\, and monster_system.py into your folder called MonsterInheritance on the google drive. \n\nFollow the same instructions from the previous week’s homework instructions (https://www.ayclogic.com/event/5-pm-python-oop-dari/)\, and if your program still doesn’t work\, ask me questions on email on your errors\, and refer to the google drive where I upload the class notes (email me asking for the link if you don’t have the link)\nIn the code for each inherited monster class\, use this instead:\nsuper().receive_magic_attack(damage_point\, magic_type)\nBecause the parent method is supposed to take only one parameter.\nI will email both of you two on the errors in your program by tomorrow midnight (23 January)\, so check your email afterwards!\n\nNotes\nIf you have any questions\, email me at ddjapri@ayclogic.com !!
URL:https://www.ayclogic.com/event/5-pm-python-oop-dari-2/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240117T190000
DTEND;TZID=America/Los_Angeles:20240117T200000
DTSTAMP:20260506T022128
CREATED:20240118T035839Z
LAST-MODIFIED:20240118T035839Z
UID:23513-1705518000-1705521600@www.ayclogic.com
SUMMARY:7 PM – Python OOP – Sebastian
DESCRIPTION:Today We Did \n\nFind teacher using list\nFind teacher using dictionary\nCreated new classroom class\nAYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nPlease submit your homework to the corresponding project’s folder in your Google Drive\nHomework: Make 2 classroom objects with subjects/room_number/grade attributes:\n\nAstrology\, 74927\, [1\,2\,3\,4\,5\,6\,7\,8]\nPhilosophy\, 74928\, [1\,2\,3\,4\,5\,6\,7\,8\,9]\n\n\nAfter creating the objects\, add them to the classroom list & dictionary\n\nSimply append objects to list like usual\nFor dictionaries\, please use the subject as the key\, and the object as the value.
URL:https://www.ayclogic.com/event/7-pm-python-oop-sebastian-2/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240115T190000
DTEND;TZID=America/Los_Angeles:20240115T200000
DTSTAMP:20260506T022128
CREATED:20240116T051500Z
LAST-MODIFIED:20240116T051500Z
UID:23461-1705345200-1705348800@www.ayclogic.com
SUMMARY:7 PM - Python OOP - Gamas
DESCRIPTION:Today We Did\n\nWe went over Driver System practice test and went over the solution.\nThe DriverSystem solution can be found in https://drive.google.com/drive/folders/1sp1a3f7XtnA0O4OiyDVsoN5LXIRV6Yxo?usp=sharing\n\nHomework\n\nNext week 01/22 is a 2 hour final test. The final test is open book and you can use any of the codes you have done in the class. But you cannot use any of the codes from the Internet. If you use something that is outside what we have learned from the class\, you will get 0.\nPlease study\n\nDriver System\nSchool System\nMonster Inheritance\nLibrary System
URL:https://www.ayclogic.com/event/7-pm-python-oop-gamas-15/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240115T170000
DTEND;TZID=America/Los_Angeles:20240115T180000
DTSTAMP:20260506T022128
CREATED:20240117T070948Z
LAST-MODIFIED:20240117T070955Z
UID:23505-1705338000-1705341600@www.ayclogic.com
SUMMARY:5 PM - Python OOP - Darin
DESCRIPTION:Today We Did\n\nContinued the Monster Inheritance project\, where now we are able to fight the monsters by playing as a character we created by making a self.player_name and self.player_health attribute in the monster_system file.\nCreated the functionality to do sword damage to the monsters of our choosing\, and reduce their health.\n\nHomework\nRe-Upload monster.py\, troll.py\, dragon.py\, water_golem.py\, and monster_system.py into your folder called MonsterInheritance on the google drive. \n\nContinue on your MonsterInheritance Project\, finishing the magic attacks as shown below:\n\nYou need to edit the individual special monster classes\, where each monster is resistant to different types of magic. For reference:\nDragon is immune to fire\nTroll is immune to earth\nWater Golem immune is resistant to water\nIn the else statement inside of the receive_magic_attack() method of each special monster class\, use this:\nsuper().receive_magic_attack(damage_point\, magic_type)\ninstead of self.health -= magic_attack \nThis allows you to call the method of the parent class (so you would call the normal receive_magic_attack from the parent Monster class)\nAfter this\, make it so that the player gets attacked in the magic_attack method of the MonsterSystem class\, similar to in the sword_attack() method. Add an else statement to show if the magic attack selection is invalid.\nFinally\, add some code in the application_loop() method to print out a message saying that the monster has just killed you if the player health is less than 0.\n\n\n  \nNotes\nIf you have any questions\, email me at ddjapri@ayclogic.com !!
URL:https://www.ayclogic.com/event/5-pm-python-oop-dari/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240110T190000
DTEND;TZID=America/Los_Angeles:20240110T200000
DTSTAMP:20260506T022128
CREATED:20240113T230911Z
LAST-MODIFIED:20240113T230911Z
UID:23437-1704913200-1704916800@www.ayclogic.com
SUMMARY:7 PM – Python OOP – Sebastian
DESCRIPTION:Today We Did \n\nReviewed how to iterate through dictionaries\nSearched through dictionaries to find each student name’s corresponding object\nAYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nPlease submit your homework to the corresponding project’s folder in your Google Drive\nHomework: Create the teacher methods we discussed in class\n\nThe method list_all_teachers_list should list all the teachers by looping through a list\nThe method list_all_teachers_dictionary should list all the teachers by looping through a dictionary
URL:https://www.ayclogic.com/event/7-pm-python-oop-sebastian/
CATEGORIES:OOP Python
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240108T170000
DTEND;TZID=America/Los_Angeles:20240108T180000
DTSTAMP:20260506T022128
CREATED:20240109T025427Z
LAST-MODIFIED:20240111T014306Z
UID:23343-1704733200-1704736800@www.ayclogic.com
SUMMARY:5 PM - Python OOP - Darin
DESCRIPTION:Today We Did\n\nReviewed how inheritance works through try it yourself number 9-7\nContinued the MonsterInheritance project\, creating the initial menu pop up as well as started on using inheritance for creating some of the monsters.\n\nHomework\nRe-Upload monster.py and monster_system.py into your folder called MonsterInheritance on the google drive. \n\nContinue on your MonsterInheritance Project\, by creating the other two classes that inherit from the Monster class. Create the Troll class as well as the WaterGolem class. These classes are similar to the Dragon class\, and think about how you create the constructor method\, where you directly give it its first parameter as in the Dragon class. (note: for the WaterGolem class\, use “Water Golem” for the species of the monster)\nComplete the initialize_monsters() method from the MonsterSystem class file by adding the Troll and the WaterGolem into the system.\nCreate some error handling code for if the user inputs a wrong selection by adding an else statement in the application_loop() method in the MonsterSystem class.\n\nThis is what the program looks like after the user enters 2 (which calls the display_all_monsters() method in the application_loop() method):\nThis is what the program looks like after the user enters 1:\n\n\nNotes\nIf you have any questions\, email me at ddjapri@ayclogic.com !!
URL:https://www.ayclogic.com/event/5-pm-python-oop-darin/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240102T180000
DTEND;TZID=America/Los_Angeles:20240102T190000
DTSTAMP:20260506T022128
CREATED:20240103T050059Z
LAST-MODIFIED:20240103T050059Z
UID:23263-1704218400-1704222000@www.ayclogic.com
SUMMARY:6 PM - Python OOP - Shawn
DESCRIPTION:Today We Did\n\nWe continued with Monster Inheritance project.\nWe utilized dictionary to translate from “1” to “fire”\, “2” to “water” etc. And we utilized another dictionary to translate from “1” to 15 (fire magic damage)\, “2” to 15 (water magic damage) etc.\nWe added code to make the magic attack to work.\n\nHomework\n\nIf you were not able to copy the codes completely\, the Monster Inheritance codes can be found in https://drive.google.com/drive/u/0/folders/1zuuNL_dnmRkxMaInRAyDHwwyWPLXiYEr\nInside main.py\, the play_adventure method is too big now\, almost 50 lines of codes. We need to break down this big method into smaller methods.\n\nYou need to move sword attack related codes from play_adventure method into its own sword_attack method.\nAnd you need to move magic_attack related codes from play_adventure method into its own magic_attack method.\n\n\nUpload your codes into google drive.\nNext week we are going to learn how to do monster special behavior using inheritance.
URL:https://www.ayclogic.com/event/6-pm-python-oop-shawn-29/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20231221T160000
DTEND;TZID=America/Los_Angeles:20231221T170000
DTSTAMP:20260506T022128
CREATED:20231222T032147Z
LAST-MODIFIED:20231222T032147Z
UID:23169-1703174400-1703178000@www.ayclogic.com
SUMMARY:3:45 PM – Python OOP – Allison
DESCRIPTION:Today we:\n\nStarted the Grocery System – List project\n\nImportant Reminders:\n\nTo celebrate Christmas\, the school will be closed from Sunday 12/24 – Sunday 12/31. There is no class next week. Our next class will be on Thursday 1/4.\n\nHomework:\n\nUpload this homework in the Google Drive folder as Dec21_DictionaryLooping:\n\nRead and do the codes from Pg. 100-101\n\nNote: To help you for the top code on Pg. 100\, add this code below:\n\nuser_0 = {\n‘username’: ‘efermi’\,\n‘first’: ‘enrico’\,\n‘last’: ‘fermi’\,\n}\n\n\n\n\nDo the “TRY IT YOURSELF” section on Pg. 104-105\n\n\nUpload this homework in the Google Drive folder as Dec21_PhoneBook:\n\nCreate the Phone Book Dictionary Program\nSee instructions for the program here: https://www.ayclogic.com/phone-book-system/\n\n\nContact us at gamas@ayclogic.com or allison@ayclogic.com if you have any questions or need any help
URL:https://www.ayclogic.com/event/345-pm-python-oop-allison/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20231218T170000
DTEND;TZID=America/Los_Angeles:20231218T180000
DTSTAMP:20260506T022128
CREATED:20231220T083355Z
LAST-MODIFIED:20240108T014029Z
UID:23144-1702918800-1702922400@www.ayclogic.com
SUMMARY:5 PM - Python OOP - Darin
DESCRIPTION:Today We Did\n\nLearnt the new topic on inheritance\, and how it helps reduce code duplication\nFinished try it yourself number 9-6\, further learning how inheritance works with code\, how to use super().__init__(self\, …\, …) to initialize the attributes of the new class.\nStarted on the Monster Inheritance project.\n\nHomework\nUpload Dec18_Inheritance_HW.py into the google drive when finished. Upload monster.py and monster_system.py into a file called MonsterInheritance on the google drive. \n\nContinue on your file called Dec18_Inheritance_HW.py and finish Try It Yourself – pg.173\, 9-7\nStart creating the MonsterInheritance Project\, and start with 2 files\, monster.py and monster_system.py (this is your main file where you run application_loop() ).In monster_system\, create the __init__(self\, …) method with the following attributes:\n– A dictionary to hold the monsters called monster_dictionary\n– the main menu string called main_menu (it looks like this below):\n\nCreate the application_loop() method that shows the menu (until the user enters exit) and takes in the input (1\, 2\, or 3)\, and if any other value is given\, it prints out the message as shown below:\nCreate the Monster class in a separate file called monster.py and give it the 3 following attributes: species\, health\, and max_attack. health and max_attack will be integer values. Create a method called get_info that displays the information such as: \nDragon – 150 Health – 50 Max Attack \nGo back to the MonsterSystem class and create the add_monster() and display_all_monsters() method to use when the user inputs 1 or 2. \nIn add_monster()\, ask the user for species\, health\, and max_attack which will be used to initialize a Monster object\, which you will put into the dictionary. Use the species name for the dictionary key. \nThese are all things you should already be familiar with from library system or the school system project (printing a menu\, showing all the items in a dictionary (using a for loop)\, and adding items to the dictionary. \nThis is what the program looks like after the user enters 2 (which calls the display_all_monsters() method in the application_loop() method):\n \nThis is what the program looks like after the user enters 1:\n\n\nNotes\nIf you have any questions\, email me at ddjapri@ayclogic.com !!
URL:https://www.ayclogic.com/event/5-pm-python-oop-darin-2/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20231212T170000
DTEND;TZID=America/Los_Angeles:20231212T180000
DTSTAMP:20260506T022128
CREATED:20231213T035945Z
LAST-MODIFIED:20231213T041237Z
UID:23014-1702400400-1702404000@www.ayclogic.com
SUMMARY:5 PM – Python OOP – Allison
DESCRIPTION:Today we:\n\nReviewed the homework\nLearned how to loop through a dictionary’s keys\nLearned how to loop through a dictionary’s values\nLearned how to loop through a dictionary’s items\n\nHomework:\n\nUpload this homework in the Google Drive folder as Dec12_DictionaryLooping:\n\nRead and do the codes from Pg. 100-101\nDo the “TRY IT YOURSELF” section on Page 105\n\n\nUpload this homework in the Google Drive folder as Dec12_PhoneBook:\n\nCreate the Phone Book Dictionary Program\nSee instructions for the program here: https://www.ayclogic.com/phone-book-system/\n\n\nContact us at gamas@ayclogic.com or allison@ayclogic.com if you have any questions or need any help
URL:https://www.ayclogic.com/event/5-pm-python-oop-allison/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20231211T170000
DTEND;TZID=America/Los_Angeles:20231211T180000
DTSTAMP:20260506T022128
CREATED:20231214T210007Z
LAST-MODIFIED:20231214T210031Z
UID:23043-1702314000-1702317600@www.ayclogic.com
SUMMARY:5 PM - Python OOP - Juan
DESCRIPTION:Today We Did\n\nReviewed last week’s homework and finished the Library System project:\n\nCreated a Book class\nCreated a class attribute books (dictionary) to store Book object instances\nReviewed HW\, class methods for:\n\nAdd Book\nList All Books\nFind Book by name\nList all old books (before 2000).\n\n\nFinished the application_loop() function to support all menu choices\n\n\n\nHomework\nName your file Dec18_Inheritance_HW.py and do: \n\nRead and copy code from pg. 168-170\nTry It Yourself – pg. 173\, 9-6 and 9-7
URL:https://www.ayclogic.com/event/5-pm-python-oop-juan-6/
CATEGORIES:OOP Python,Python Class
END:VEVENT
END:VCALENDAR