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:20240310T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20241103T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240709T180000
DTEND;TZID=America/Los_Angeles:20240709T190000
DTSTAMP:20260506T112105
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:20240716T180000
DTEND;TZID=America/Los_Angeles:20240716T190000
DTSTAMP:20260506T112105
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:20240723T180000
DTEND;TZID=America/Los_Angeles:20240723T190000
DTSTAMP:20260506T112105
CREATED:20240724T053042Z
LAST-MODIFIED:20240724T053042Z
UID:26118-1721757600-1721761200@www.ayclogic.com
SUMMARY:6 PM – Python OOP – Darin
DESCRIPTION:What We Did Today:\n\nFinished Supermarket Application\nReviewed concepts/functions on using Dictionaries such as .values()\, .keys()\, and .items()\n\nHomework:\nImplement MonsterSystem.py and Monster.py and upload the two files into the google drive when you are finished. \n\n# The monster class has the attributes: species (string)\, health (int)\, max_attack (int)\n\n# The MonsterSystem class has a dictionary with key {monster's name (String)} and value Monster object\n\n# Make the menu print out forever and get input from the user\, and implement selection 1 and selection 2\n\n\nclass MonsterSystem:\n    def __init__(self):\n        self.menu = """\nPlease select one of the following\n1. Add Monster\n2. List all monsters\n3. Play Adventure\nEnter your selection (Enter 'exit' to quit): """\n\n        self.monsters = {}\n\n    def application_loop(self):\n        while True:\n           # some code here\n\nm = MonsterSystem()\nm.application_loop()\nInside of # some code here^ you want to get input using the self.menu the same way we did in Library System\, School System\, and Supermarket Application. \nContinue to create the add monster and list all monster methods. \n\n\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-2/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240729T160000
DTEND;TZID=America/Los_Angeles:20240729T170000
DTSTAMP:20260506T112105
CREATED:20240729T184000Z
LAST-MODIFIED:20240730T010734Z
UID:26178-1722268800-1722272400@www.ayclogic.com
SUMMARY:4 PM – Python OOP – Darin
DESCRIPTION:Today We Did:\n\nSetup PyCharm to use for the Python OOP class.\nLearnt a bit about a new data structure: Dictionary\n\nHomework:\nCreate a new file called July29_DictionaryCopyHW.py and upload it into the google drive when you are finished. \n\nCopy the code from pages 92 – 97\nYou start from (A simple dictionary) to (using get() to access values)\n\nAlso for Jensen\, make sure you are able to screen share by next week. \nNOTES:\nYou can contact me via ddjapri@ayclogic.com for any questions or concerns. \nExpected holidays: https://www.ayclogic.com/observed-holidays/
URL:https://www.ayclogic.com/event/5-pm-python-oop-darin-4/
CATEGORIES:OOP Python,Python Class
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20240730T180000
DTEND;TZID=America/Los_Angeles:20240730T190000
DTSTAMP:20260506T112105
CREATED:20240731T033635Z
LAST-MODIFIED:20240731T040048Z
UID:26213-1722362400-1722366000@www.ayclogic.com
SUMMARY:6 PM – Python OOP – Darin
DESCRIPTION:What We Did Today:\n\nContinued monster inheritance project\nLearnt about the concept of inheritance (we haven’t applied it yet)\n\nHomework:\nContinue in MonsterSystem.py and upload the file into the google drive when you are finished. \nimplement the else condition\, and start by getting the Monster object from the dictionary with the key from variable “monster”\, and then getting input from shell with the menu \nThis is what we have so far for the play method: \n\n\ndef play(self):\n    self.player_name = input("Enter player name: ")\n    self.player_health = int(input("Enter player health: "))\n\n    print(f"\nWelcome to the AYCLOGIC adventure game\, {self.player_name}")\n\n    while True:\n        print(f"{self.player_name}\, you have {self.player_health} health remaining.")\n        print("Please choose the monster to fight: ")\n        self.listMonsters()\n        monster = input("Enter the name of the monster to fight: ")\n\n        if monster.lower() not in self.monsters.keys():\n            print(f"{monster} does not exist in the system.")\n        else:\n            # getting the monster object using the key (monster)\n            # print out "What do you want to do with the {monster}"\n            # print out the menu below and get input with the variable named "selection"\n\n            # create new menu called self.attack_menu\n            """\n            1. Magic attack\n            2. Sword attack - 10 to 20 damage\n            Enter your selection:\n            """\nHere is a sample of the output after completing the else condition: \nPlease select one of the following\n1. Add Monster\n2. List all monsters\n3. Play Adventure\nEnter your selection (Enter ‘exit’ to quit): 3\nEnter player name: Darin\nEnter player health: 100 \nWelcome to the AYCLOGIC adventure game\, Darin \nDarin\, you have 100 health remaining.\nPlease choose the monster to fight:\nDRAGON – 100 health remaining\nTROLL – 80 health remaining\nGOBLIN – 20 health remaining\nEnter the name of the monster to fight: dragon \nWhat do you want to do with the Dragon?\n1. Magic attack\n2. Sword attack – 10 to 20 damage\nEnter your selection: 1 \n\n\n\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-3/
CATEGORIES:OOP Python,Python Class
END:VEVENT
END:VCALENDAR