In this we are going to see a basic program to calculate surface area using lamda function in Python Programming Language.
area = lambda l,b,h : 2*(l*b + b*h + l*h)
l = 5
b = 4
h = 3
print(f"The surface area of cuboid having dimensions {l}, {b} and {h} is {area(l,b,h)}")
# Coded by Saahil
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP