s1 = int(input("Enter length of side 1 of the triangle: "))
s2 = int(input("Enter length of side 2 of the triangle: "))
s3 = int(input("Enter length of side 3 of the triangle: "))
s = (s1+s2+s3)/2
area = (s*(s-s1)*(s-s2)*(s-s3))**0.5
print('Area of the given triangle is', area)
length = float(input('Enter length := ')) # read length
breadth = float(input('Enter breadth := ')) # read breadth
area = length * breadth # computation
print('Area of the Rectangle := ', area)
Enter Length of Rectangle:
Enter Breadth of Rectangle:
Enter the first side of the triangle = 5
Enter the second side of the triangle = 5
Enter the third side of the triangle = 5