menu search
brightness_auto
more_vert
2 1

Write a Python program to find the area of a rectangle given that its length is 10 units and breadth is 20 units.

Topic Python Programming
Type Python Program
Class 10
thumb_up_off_alt 2 like thumb_down_off_alt 0 dislike

1 Answer

more_vert
0

# Python Program to find Area of a Rectangle

length = float(input('Please Enter the Width of a Rectangle: '))

breadth = float(input('Please Enter the Height of a Rectangle: '))

Area = length*breadth

print(Area)

OR

# Python Program to find Area of a Rectangle

length = 10

breadth = 20

Area = length*breadth

print(Area)


Study more about Python at Python Class 10

thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike

Related questions

thumb_up_off_alt 2 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 3 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 2 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 3 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 3 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 4 like thumb_down_off_alt 0 dislike
0 answers
thumb_up_off_alt 3 like thumb_down_off_alt 0 dislike
0 answers
Welcome to Aiforkids, where you can ask questions and receive answers from other members of the community.

AI 2024 Class 10 Board Exams mein 100% laane ka plan OPEN NOW

Class 10 Complete One Shot AI Lectures at - Youtube

1.5k questions

1.4k answers

4 comments

4.5k users

...