American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Python OOP – Bill

November 12, 2022 @ 6:00 pm - 7:00 pm

Today We:
  1. Reviewed the HW
  2. Started working on the main in the Monster Inheritance project
  3. Created the get_menu method that will return the menu of the monsters
Your HW:
  1. Create a variable called selected_monster
  2. this needs to be the monster the player is asked to select to fight
  3. Check if the user response is in the dictionary
    1. If it is, set selected_monster to the correct monster by it’s name
    2. If not, print out “Monster Not Found in System”
  4. Print out selected_monster.get_info() to see if your code works

Details

Date:
November 12, 2022
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights