Create main.py
This commit is contained in:
parent
7d1ca530b0
commit
8601f8d61b
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
|
Loading…
x
Reference in New Issue
Block a user