Decode School

Decode School - The School for Problem Solvers
Welcome to My Blog.
Need Assignment / Project Guidance (or) Training in Python?

Area of Right angled triangle in Python

Python program to get length and width of right angled trianlgle and find area of right angled triangle

Sample Input 1:

4 5

Sample Output 1:


Program or Solution

l=int(input("Enter the length:"))
w=int(input("Enter the width:"))
print("Area: {}".format(area))


Program Explanation

get length and width of a right-angled triangle using input() method calculate area = length * width