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:20210314T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20211107T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20211203T190000
DTEND;TZID=America/Los_Angeles:20211203T200000
DTSTAMP:20260424T202539
CREATED:20211204T035953Z
LAST-MODIFIED:20211211T030330Z
UID:10608-1638558000-1638561600@www.ayclogic.com
SUMMARY:7 PM - Python OOP
DESCRIPTION:Homework\n\nUnder “src” folder\, create monster.py\nInside monster.py\, create Monster class with the following attribute: species\, health\, max_attack\nInside monster.py\, create get_info() method.\nInside monster_system.py\, add 3 monsters inside self.monster_dictionary.\n\nkey = “dragon” \, value = Monster class – species: dragon\, health: 100\, max_attack: 30\nkey = “troll” \, value = Monster class – species: troll\, health: 50\, max_attack: 20\nkey = “water golem” \, value = Monster class – species: water golem\, health: 30 max_attack: 20\n\n\nInside monster_system.py\, add a new method display_all_monster(self): Inside this method\, loop through all Monster inside the dictionary and print the monster.get_info()\n\nDragon - 100 health - 50 Max attack\nTroll - 50 health - 20 Max attack\nWater Gollem - 30 health - 20 Max attack\nEnter your selection ('exit' to quit): dragon\n\nDragon - 100 health - 50 Max attack\nTroll - 50 health - 20 Max attack\nWater Gollem - 30 health - 20 Max attack\nEnter your selection ('exit' to quit): troll\n\nDragon - 100 health - 50 Max attack\nTroll - 50 health - 20 Max attack\nWater Gollem - 30 health - 20 Max attack\nEnter your selection ('exit' to quit): exit
URL:https://www.ayclogic.com/event/7-pm-python-oop-12/
CATEGORIES:OOP Python,Python Class
END:VEVENT
END:VCALENDAR