Sponsor Area
TextBook Solutions for Uttarakhand Board Class 12 Computer And Communication Technology Computer Science With Python Chapter 4 Inheritance
Question 1
Write two methods in python using concept of Function Overloading (Polymorphism) to perform the following operations:
(i) A function having one argument as Radius, to calculate Area of Circle as 3.14#Radius#Radius
(ii) A function having two arguments as Base and Height, to calculate Area of right-angled triangle as 0.5#Base#Height.
Solution
def Area(R):
print 3.14*R*R
def Area(B,H):
print 0.5*B*H Question 4
Sponsor Area
Sponsor Area
Mock Test Series
Mock Test Series



