Classes and Objects Exercise
Question 1 of 5
What will be the output of this code?
class Circle:
def __init__(self, radius):
self.radius = radius
def area(self):
return 3.14 * self.radius * self.radius
circle1 = Circle(5)
print(circle1.radius)3.14
5
25
78.5