About 3,960,000 results
Open links in new tab
  1. Python Program to Calculate the Area of a Triangle

    Source code to calculate area of any triangle in Python programming with output and explanation.

  2. Calculate the Area of a TrianglePython | GeeksforGeeks

    Apr 29, 2025 · In this article, we will see how we can calculate the area of a triangle in Python. Using Heron's Formula. When the lengths of all three sides of the triangle are known, you can …

  3. Python Programs to Calculate Area of Triangle - PYnative

    Apr 17, 2025 · In this article, we will explore different ways to calculate the Area and Perimeter of a Triangle using Python, with detailed explanations and examples. What is a Triangle? 1. How …

  4. How to Find the Area of the Triangle in Python - Python Guides

    May 29, 2024 · The area of a triangle is the space enclosed by three sides, and there is a basic formula to find the location of a triangle 1/2 * base * height. Another formal is Heron’s formula, …

  5. Python program to find the area of a triangle

    Oct 7, 2019 · Python program to find the area of a triangle. Mathematical formula: Area of a triangle = (s*(s-a)*(s-b)*(s-c))-1/2. Here s is the semi-perimeter and a, b and c are three sides …

  6. Python Program to Calculate Area of Triangle - Logical Python

    base = int (input ("Please enter base : ")) height = int (input ("Please enter height : ")) area = base * height / 2 print ("Area = ", area)

  7. Python Program to Calculate the Area of a Triangle - W3Schools

    This Python example code demonstrates a simple Python program to calculate the area of a triangle and print the output to the screen.

  8. Object Oriented Python for area of triangle - Stack Overflow

    enter image description here Write a Python Program (with class concepts) to find the area of the triangle using the below formula. Function to take the length of the sides of triangle from user …

  9. Python Program to find Area of a Triangle using base and height

    This Python program allows the user to enter the base and height of a triangle. By using the base and height values, it finds the area of a triangle. The mathematical formula to find the Area of a …

  10. Python program to find the area and perimeter of a triangle

    In this tutorial, I will show you how to find the area and perimeter of a triangle in Python. For calculating both area and perimeter, we need the values of the sides of the triangle. So, the …

  11. Some results have been removed
Refresh