diff --git a/exo1/exo1.py b/exo1/exo1.py index 3034469..2bb3aab 100644 --- a/exo1/exo1.py +++ b/exo1/exo1.py @@ -7,3 +7,9 @@ Write the code for this class, with the appropriate constructor. Example of code using the class: i = Item(10, 20) """ +class Item: + def __init__(self, price, weight): + self.price = price + self.weight = weight + +