From 8601f8d61bed674ea388dc5faa28c36d44816707 Mon Sep 17 00:00:00 2001 From: PeterGuek <76177881+PeterGuek@users.noreply.github.com> Date: Fri, 19 Jul 2024 20:59:07 -0700 Subject: [PATCH] Create main.py --- Exercice12/main.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Exercice12/main.py diff --git a/Exercice12/main.py b/Exercice12/main.py new file mode 100644 index 0000000..37c627d --- /dev/null +++ b/Exercice12/main.py @@ -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