[Python] So I have been trying to make a triangle identifier program in Python, This basic...

Discussão em 'Python' iniciado por Stack, Março 19, 2025.

  1. Stack

    Stack Membro Participativo

    The Program rightfully gives the identification for all cases of triangles falling into the categories of equilateral, isoscles and scalene. It also identifies if the triangle is actually a valid triangle or not. This program however fails to identify a triangle of sides 3, 4, 5 as a scalene triangle. I have given the appropriate indentations but at the same time fail to debug the program

    enter image description here

    I was expecting the input of 3, 4, 5 to be a scalene triangle however this program says that the above sides do not form a triangle at all

    Continue reading...

Compartilhe esta Página