How to Calculate the Area of a Triangle using Python?
Answers
☆☞ Here is ur answer ☜☆
✔✔ Python Program to Calculate the Area of a Triangle
✔✔ # Python Program to find the area of triangle.
✔✔ # Three sides of the triangle a, b and c are provided by the user.
✔✔ a = float(input('Enter first side: '))
✔✔ b = float(input('Enter second side: '))
✔✔ c = float(input('Enter third side: '))
✔✔ # calculate the semi-perimeter.
s = (a + b + c) / 2.
✔✔ # calculate the area.
HOPE IT HELPS!
hello!!
☆☞ Here is ur answer ☜☆
✔✔ Python Program to Calculate the Area of a Triangle
✔✔ # Python Program to find the area of triangle.
✔✔ # Three sides of the triangle a, b and c are provided by the user.
✔✔ a = float(input('Enter first side: '))
✔✔ b = float(input('Enter second side: '))
✔✔ c = float(input('Enter third side: '))
✔✔ # calculate the semi-perimeter.
s = (a + b + c) / 2.
✔✔ # calculate the area.
HOPE IT HELPS!