✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Defineerime klassi ja loome ühe isendi:
class Kolmnurk: def __init__(self, a, b, c): self.b = b self.c = c self.a = a def ümbermõõt(self): return(self.a + self.b + self.c)k1 = Kolmnurk(3, 4, 5)
Mis on pärast isendi loomist muutuja k1.a väärtus?