American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM – Python OOP – Allison

July 16 @ 3:00 pm - 4:00 pm

What We Did Today

  1. Reviewed and finished SchoolSystem project

Homework

  1. Yanbao:
    1. Make sure to review the SchoolSystem July16_main.py code, understand it, and update your code
  2. Everyone:
    1. Make sure to do the below code in your LibrarySystem project
    2. When you’re done with the homework, create a folder called July16_LibrarySystem in your Google Drive. Upload main.py and book.py there.
    3. Create book.py file.
      1. Create a book class. It should have 4 attributes: title, author, publish_year, and id
    4. In your main.py file:
      1. Replace self.menu = “””Empty Menu””” with:
        • 1. Add book
          2. List all books
          3. Find book by name
          4. Find book by id
          5. List all old books
          Enter your selection. Enter ‘quit’ to exit:
      2. Create an empty dictionary called book_dictionary
      3. Implement option 1, option 2 (with dictionary), and option 3.
  3.  Other
    1. Add any missing parts of your class notes from our class notes (see link at bottom)
    2. Review the homework answers (see link at bottom)

Notes

  1. You can reach out via allison@ayclogic.com if you have any questions.
  2. Class notes and previous homework answers can be found here: Link to Google Drive

Details

Date:
July 16
Time:
3:00 pm - 4:00 pm
Event Categories:
,