From 91b8f38dd9f330917b1bb0bcf04f72ec0d885ac1 Mon Sep 17 00:00:00 2001 From: Karenzz Date: Wed, 5 Apr 2023 01:11:00 +0200 Subject: [PATCH] Update page 'Day 4 Homework - Karen' --- Day 4 Homework - Karen.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Day 4 Homework - Karen.md b/Day 4 Homework - Karen.md index edbdd1b..23aa17c 100644 --- a/Day 4 Homework - Karen.md +++ b/Day 4 Homework - Karen.md @@ -162,15 +162,15 @@ class AdvancedToaster: print(f"The power of the toaster is {self.power} W.") - defer get_materials(self): + def get_materials(self): print(f"The toaster is made of: {', '.join(self.materials)}.") - defer get_dimensions(self): + def get_dimensions(self): print(f"The dimensions of the toaster are: {self.dimensions['length']} cm x {self.dimensions['width']} cm x {self.dimensions['height']} cm.") - defer get_color(self): + def get_color(self): print(f"The color of the toaster is {self.color}.") - defer get_price_tag(self): + def get_price_tag(self): print(f"The estimated value of the toaster is {self.price_tag}.") ```