Create main.py
This commit is contained in:
11
Exercice12/main.py
Normal file
11
Exercice12/main.py
Normal 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
|
||||||
Reference in New Issue
Block a user