American Young Coder

4 PM – Python OOP – Darin
2024-08-05 16:00 - 17:00 (America/Los_Angeles)
Today We Did:

Continued learning about dictionaries, how to loop through them, and how to use if statements with them.

Homework:
Create a new file called Aug5_DictionaryCopyHW.py and upload it into the google drive when you are finished.

Do try it yourself page 99 numbers 6-1 and 6-2

Create a second file called Aug5_DictionaryCopyHW2.py and upload it into the google drive when you are finished.

Copy codes form pages 100-101 (in the third edition) or 99 – 101 (in the second edition). Specifically, you want to copy down the topics: Looping Through a Dictionary until Looping through all keys in a dictionary.

NOTES:
You can contact me via ddjapri@ayclogic.com for any questions or concerns.
Expected holidays: https://www.ayclogic.com/observed-holidays/

6 PM – Python OOP – Darin
2024-08-06 18:00 - 19:00
What We Did Today:

Continued monster inheritance project
Applied ways to find a monster in the dictionary through looping through the keys of the dicitonary.

Homework:
Create a file called Aug6_InheritanceHW and do the following:

Page 168 to 170: Copy Codes

Notes:

If you have any questions, you can contact me at ddjapri@ayclogic.com

4 PM – Python OOP – Darin
2024-08-12 16:00 - 17:00
Today We Did:

Continued learning about dictionaries, how to find items in a dictionary (compared to finding items with a list)
Created a phone book system using dictionaries.

Homework:
Create a new file called Aug12_DictionaryHW2 and submit to the google drive when you are finished.

Do page 105, Try It Yourself 6-5 and 6-6

NOTES:
You can contact me via ddjapri@ayclogic.com for any questions or concerns.
Expected holidays: https://www.ayclogic.com/observed-holidays/

6 PM – Python OOP – Darin
2024-08-13 18:00 - 19:00
What We Did Today:

Continued monster inheritance project
Created the sword attack method as well as started on the magic attack method, implementing inheritance

Homework:

For Ian and Miki: Work on the hw from last week, copying from pages 168 to 170 for inheritance in a new file.
In your monster inheritance project, create a new arrow attack method and add the option in the attackMenu. You want to deal 5-20 damage for the arrow attack.

Notes:

If you have any questions, you can contact me at ddjapri@ayclogic.com

4 PM – Python OOP – Darin
2024-08-19 16:00 - 17:00
Today We Did:

Implemented the phone book system, creating a mini interactive program that uses a dictionary to store data.

Homework:
Continue in your Phone Book System project and upload that file to the google drive when you are finished.
Implement option 2, where you try to find the name if it exists in the dictionary, and print out that the name doesnt exist if the name is not in the dictionary.
hint: the name is the key in the dictionary
website instructions: https://www.ayclogic.com/phone-book-system/
sample output:
What do you want to do
1. Add a phone number
2. Find a phone number
3. List all phone numbers
Enter your selection (enter ‘exit’ to stop): 2
Enter the name of the person you are trying to find: Darin
Darin’s phone number is 1024823049049
What do you want to do
1. Add a phone number
2. Find a phone number
3. List all phone numbers
Enter your selection (enter ‘exit’ to stop): 2
Enter the name of the person you are trying to find: edward
Name does not exist in phone book.
NOTES:
You can contact me via ddjapri@ayclogic.com for any questions or concerns.
Expected holidays: https://www.ayclogic.com/observed-holidays/

6 PM – Python OOP – Darin
2024-08-20 18:00 - 19:00
What We Did Today:

Continued monster inheritance project
Implemented inheritance through the magic attack system where a Dragon (child of the Monster class) is immune to fire magic.

Homework:

Create a Slime class that inherits from the Monster class, and this time make the slime immune to water but takes double the damage for fire magic.

Notes:

If you have any questions, you can contact me at ddjapri@ayclogic.com
