Python Tutorial | Learn Python Programming

Publicado em: 22 Maio 2024
no canal de: RABIUL ISLAM Official
35
5

#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


Nesta página do site você pode assistir ao vídeo on-line Python Tutorial | Learn Python Programming duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário RABIUL ISLAM Official 22 Maio 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 35 vezes e gostou 5 espectadores. Boa visualização!