✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Який результат буде виведено на консоль після виконання наступної програми?
class Box(): def __init__(self, l=5, w=4, h=8): self.l = l self.w = w self.h = h def volume(self): return self.l * self.w * self.hclass SmallBox(Box): def __init__(self, l, w, h): Box.__init__(self, l, w, h) def area(self): return 2*((self.w * self.l) + (self.l * self.h) + (self.w * self.h))a = SmallBox()print(a.volume())print(a.area())