Create main.py

This commit is contained in:
PeterGuek 2024-07-19 20:59:07 -07:00 committed by GitHub
parent 7d1ca530b0
commit 8601f8d61b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

11
Exercice12/main.py Normal file
View File

@ -0,0 +1,11 @@
class Book:
def __init__(self, title, author, year):
self.title = title
self.author = author
self.year = year
class Library:
def __init__(self):
self.books = []
self.borrow_books = []
# Ajouter les méthodes ici