#WAP AREA OF RECTANGLE
CODE:-
l=int(input("length in CM:-"))
b=int(input("breadth in CM:-"))
a=l*b
print("Area of rectangle is:- ",a,"CM^2")
OUTPUT:-
length in CM:-50
breadth in CM:-20
Area of rectangle is:- 1000 CM^2
#WAP AREA OF CIRCLE
CODE:-
r=int(input("enter radius of a circle"))
a=3.14*(r*r)
print("Area of circle is:- ",a)
OUTPUT:-
enter radius of a circle 50
Area of circle is:- 7850.0
#WAP AREA OF CUBOID
CODE:-
l=int(input("enter length:-"))
b=int(input("enter breadth:-"))
h=int(input("enter height:-"))
a=2*(l*b+b*h+h*l)
print("the area is:- ",a)
OUTPUT:-
enter length:- 10
enter breadth:- 20
enter height:-10
the area is:- 1000
On this page of the site you can watch the video online Python Tutorial | Learn Python Programming with a duration of hours minute second in good quality, which was uploaded by the user RABIUL ISLAM Official 22 May 2024, share the link with friends and acquaintances, this video has already been watched 35 times on youtube and it was liked by 5 viewers. Enjoy your viewing!