American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Python OOP – Daniel (Joel Sub)

April 5 @ 5:00 pm - 6:00 pm

Today we did:
  1. We worked on the ShoppingCartApplication version 2.
Homework:
  1. Create a new file called MonsterInheritanceMain.py. It will be empty for now
  2. Create a new file called Monster. In this Monster class it will have three attributes: species, health, and max_attack. Create the constructor with these three attributes. It will also have a get_info method, which will return the string
  3. “<species (uppercase)> – <health> health – <max_attack> max attack”
  4. Make sure to submit your homework in the Google Drive before the lesson.

If you have any questions, feel free to email me at joel@ayclogic.com

Details

Date:
April 5
Time:
5:00 pm - 6:00 pm
Verified by MonsterInsights