Python Program to Find the Area and Perimeter of a Rectangle | Tutorial

Python Program to Find the Area and Perimeter of a Rectangle | Tutorial

Example Program

3 года назад

70,775 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@munmunmoulik7692
@munmunmoulik7692 - 19.12.2023 18:30

can i do this without input()?

Ответить
@Gargi_upd
@Gargi_upd - 06.10.2023 19:01

Sir isme Output mein
User name jo show ho rha h, wo kaise show ho rha h??
Mera nhi ho rha..
Pls sir help

Ответить
@manyaarora893
@manyaarora893 - 22.02.2023 14:38

thanks 👍 sir for helping us in last day of exams ☺️😊

Ответить
@funkymoon1229
@funkymoon1229 - 28.01.2023 22:10

Sir thanks alot💫✨🙏

Ответить
@vedantwanjari3318
@vedantwanjari3318 - 26.01.2023 14:05

Width = int(intput("enter the width of the rectangle : "))
Length = int(intput("enter the length of the rectangle: "))
area = length * width
Perimeter = ( length + width ) * 2
Print("area of rectangle is %.2f" %area )
Print("perimeter of rectangle is %.2f" %perimter )

Ответить
@industrialelectricalbd6900
@industrialelectricalbd6900 - 16.10.2022 22:18

Nice thanks brother.

Ответить
@hansisenavirathne9670
@hansisenavirathne9670 - 10.08.2022 20:58

Thank you

Ответить
@Mythsao
@Mythsao - 01.08.2022 12:49

Aha!!!! what a channel thanks sir!

Ответить
@krishnasahoo3401
@krishnasahoo3401 - 11.07.2022 20:05

Way of teaching is good. thank you

Ответить
@anayandas6084
@anayandas6084 - 10.06.2022 17:22

That's amazing man this help me a lot 😭🤝

Ответить
@alaaalhogealy6984
@alaaalhogealy6984 - 07.04.2022 12:32

Hi can I ask you what you mean when you write inside the print massage %.2 and then you type after that%area??

Ответить
@PS83.
@PS83. - 15.03.2022 19:43

2 min silence for those who are seeing this video one day before of computer exam 😂 and best of luck too👍

Ответить
@anatmarysanthosh6905
@anatmarysanthosh6905 - 14.03.2022 09:29

Sir can u plz tell the output of rectangle

Ответить
@leifreeves5043
@leifreeves5043 - 11.03.2022 20:22

Thank you this saved me!!!

Ответить
@dancerz_lizaa1099
@dancerz_lizaa1099 - 09.03.2022 18:27

o(╥﹏╥)o

Ответить
@funfaceD
@funfaceD - 25.02.2022 06:15

whare is code?

Ответить
@deeprajsalunkhe815
@deeprajsalunkhe815 - 24.02.2022 16:32

plz continue with IDLE one

Ответить
@Maharath
@Maharath - 17.02.2022 19:19

Thank you so much sir

Ответить
@vatsatna9819
@vatsatna9819 - 05.02.2022 19:52

Sir which idle is this?

Ответить
@abhinavsharma9013
@abhinavsharma9013 - 28.01.2022 08:15

Thank you ! You saved my life at last moment in my AI Practical.

Ответить
@abigail3616
@abigail3616 - 29.11.2021 15:04

if its not working for some reason like it happened i tweaked it little and it worked here it is..

width =float(input("Enter the width of the rectangle:"))
length =float(input("Enter the length of the rectangle:"))

A= width*length
P= (width + length) * 2

print("Area of the Rectangle is :",A )
print("Perimeter of the Rectangle is :",P )

Ответить
@doipayanchakravarty623
@doipayanchakravarty623 - 24.11.2021 16:39

why do we use float sir?

Ответить
@hemantchoudhary2894
@hemantchoudhary2894 - 22.11.2021 12:50

why we use %.2f

Ответить
@foxy3064
@foxy3064 - 16.10.2021 15:43

how do i make it so that we can ask what we want for result like we want perimeter or area

Ответить
@Progamer12597
@Progamer12597 - 13.09.2021 12:07

:D :)

Ответить
@ranianandh8760
@ranianandh8760 - 06.09.2021 15:46

Tamil la solli thanga sir 🙏

Ответить
@rajubokki2637
@rajubokki2637 - 14.06.2021 12:27

🙏🙏
🙏🙏

Ответить
@saritaprasad9148
@saritaprasad9148 - 12.06.2021 15:12

Which python version are uu using plz tell

Ответить
@aprajitaplaysmusic
@aprajitaplaysmusic - 04.06.2021 14:55

woah thank you so much , this helped me alot and i can finally understand :D if this video didnt exist i couldve probably failed in my CS subject

Ответить
@serpentinefireball
@serpentinefireball - 21.03.2021 14:48

This is amazing! Thank you

Ответить
@thatrandomstarwarskid6435
@thatrandomstarwarskid6435 - 16.03.2021 18:29

Very appreciated :)

Ответить
@yashashvi9279
@yashashvi9279 - 21.02.2021 17:13

Mast hai sirji 👍👍👍

Ответить
@shizuka2580
@shizuka2580 - 16.01.2021 13:46

👍👍👍👍👍👍 great videos sir

Ответить
@raghvendrasingh1471
@raghvendrasingh1471 - 12.11.2020 11:32

And also your name is ANIL shetty

Ответить
@raghvendrasingh1471
@raghvendrasingh1471 - 12.11.2020 11:31

Thank you sir for your help can you make more vedioes on phython.

Ответить
@Patrick-zh5oi
@Patrick-zh5oi - 31.10.2020 08:49

how to add a unit of the area? Like cm^2 .

Ответить
@chukwunwikeakah4692
@chukwunwikeakah4692 - 24.09.2020 23:18

do more videos please on the basics of python

Ответить