Update page 'Day 4 Homework - Karen'

2023-04-05 01:11:00 +02:00
parent f1b5e2c0a3
commit 91b8f38dd9
+4 -4
@@ -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}.")
```