Python program to calculate area and perimeter of a square and Rectangle | Code with jatin

Опубликовано: 01 Октябрь 2024
на канале: Code with Jatin
142
9

In this tutorial you will learn How to write a Python Program to find the area and perimeter of a rectangle and square using width and length in Python Programming Language.

If you know the length and width of a rectangle then we can calculate the Area using the formula
Area = Width * Length

To calculate the Perimeter we use the formula
Perimeter = ( Length + Width ) * 2
If you know the side of a square then we can calculate the Area using the formula
Area = side square

To calculate the Perimeter we use the formula
Perimeter = 4x side

Here in this program user will enter the length and width of the rectangle.

If like video please like, share, comment and subscribe the channel for more videos.

Email- [email protected]

Instagram=  / code_with_jatin_2288  
visual studio code download link:-https://code.visualstudio.com/

#Python #pythoncalculater #pythontutorial

👍 Thanks for watching!
Make sure to LIKE + SUBSCRIBE for more! ❤️

Keep Supporting me So I can Continue to provide you with free content each week!!
😇🙏

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Thank you for Watching!
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬