American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Python OOP – Bill

June 28, 2022 @ 5:00 pm - 6:00 pm

Today We:
  1. Continued the Book Application project
  2. Gave the Book class a get_info method
  3. Created the main_application class
  4. Created the menu for the main application as an attribute
  5. Created the main loop method in the main_application class
  6. Reviewed how to run the main loop
  7. Created a add_a_book method
  8. Created a dictionary attribute called “shelf” to hold all created books
Your HW:
  1. Create a new method called “initialize_books” in the application class, no parameters
  2. Inside this method, create 3 book variables (your favorite books)
  3. Add these 3 book variables to the shelf dictionary attribute
  4. Call this method before the main while loop runs
  5. No Class Next Week (7/5/2022), Happy 4th of July

 

Details

Date:
June 28, 2022
Time:
5:00 pm - 6:00 pm
Verified by MonsterInsights