American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

7:00PM – Python OOP – Joshua

October 14 @ 7:00 pm - 8:00 pm

Today We Did

  • reviewed homework
  • begin creating a library System

 

Homework
Add these two functions to your library system

def add_book(self):
    # Step 1 : Use input to gather the four pieces of information you need  to create a book
    # Step 1.5 (remember ID and Year are both numbers (integers)) 
    # Step 2: Create a book with your inputs 
    # Step 3: Add this book to both dictionaries 
    # Print( "We Have added your book") 
    pass
def list_all_books(self):
    # Pick a dictionary and print every single book in that dictionary 
    # "<Book Title> by <Book Author> written on <Year>
    # Sort of a bonus, for your book.py, create a function it called 
    # list_attributes> if i were to do book.list_attributes, it would print the thing above
    pass


Details

Date:
October 14
Time:
7:00 pm - 8:00 pm