About 4,180,000 results
Open links in new tab
  1. Finding if a triangle is right-angled or not - Stack Overflow

    May 16, 2019 · To find whether rectangle is right, you can exploit Pythagorean theorem. if (a*a+b*b==c*c) or (c*c+b*b==a*a) or (a*a+c*c==b*b) : return "The triangle is right-angled." …

  2. Python Program to Check if right triangle possible from given …

    Sep 5, 2024 · In this article, we'll provide the right triangle's legs and use Python to get the triangle's hypotenuse. We are going to solve this problem with the help of Pythagoras' …

  3. Python: Check whether three given lengths of three sides form a right

    Apr 17, 2025 · Check whether the sorted sides form a Pythagorean triple (right-angled triangle) using the Pythagorean theorem. Prints 'Yes' if the sides satisfy the Pythagorean theorem, …

  4. 5 Best Ways to Check Whether a Right Angled Triangle Is Valid …

    Mar 8, 2024 · Python’s complex number arithmetic can be leveraged to check if a right-angled triangle is valid by converting the triangle’s sides to a complex number representation and …

    Missing:

    • Program

    Must include:

  5. Python Program to Check Validity of Triangle Given Three

    This program checks whether given three sides of a triangle forms a valid triangle or not. In mathematics, the triangle inequality states that for any triangle to be valid, the sum of the …

  6. Python program to print a right angled triangle - CodeVsColor

    Sep 1, 2021 · In this tutorial, we will learn how to print one right-angled triangle using python 3. A triangle is called a right-angled triangle if it’s one angle is of 90 degrees or right angle. The …

  7. Find the type of triangle with given sides in Python

    In this article, we will learn how to find the type of triangle with given sides in Python. Let a, b, c represent the sides of the triangle. Examples. In general, if. c² = a² + b² then the triangle is a …

    Missing:

    • Program

    Must include:

  8. Check if a right-angled triangle can be formed by the

    Nov 21, 2022 · Given three Cartesian coordinates, the task is to check if a right-angled triangle can be formed by the given coordinates. If it is possible to create a right-angled triangle, print …

  9. Check Validity of Right-Angled Triangle for Large Sides in Python

    Jan 16, 2021 · Learn how to check whether a right-angled triangle is valid or not for large sides using Python. Follow our step-by-step guide and examples.

  10. python - check if it is a Right angled triangle - Stack Overflow

    Given three integers a, b and c as triplets. The task is to check if it is possible to make right angled triangle or not. The first line of input contains an integer T denoting the number of test …

  11. Some results have been removed
Refresh