Saurais-tu dire combien il y a de triangles équilatéraux ...,
de triangles rectangles ..., de triangles isocèles ...,
de triangles scalènes ... ?

Correction :

Triangles rectangles

triangles équilatéraux

Triangles isocèles

Triangles scalènes

Triangles à classer

A = (-3, 5.02)
B = (0, 6.02)
C = (0, 4.02)
poly1, c, a, b = Polygon(A, B, C)
D = (-2, 3)
E = (-3, 2)
F = (-3, -2)
poly2, f, d, e = Polygon(D, E, F)
G = (1, 3)
H = (-1, 3)
I = (-1, 1)
poly3, i, g, h = Polygon(G, H, I)
J = (0, 1)
K = (-2, -1)
L = (3, -2)
poly4, l, j, k = Polygon(J, K, L)
M = (1, 6)
N = (1, 4)
poly5, m, m_1, n, O = Polygon(M, N, 3)
P = (2.14, 2.38)
Q = (1.48, 0.86)
poly6, p, p_1, q, R = Polygon(P, Q, 3)
S = (4.84, -1.94)
T = (6.84, 0.06)
poly7, r, s, t, U = Polygon(S, T, 3)
V = (3, 6)
W = (7, 6)
Z = (7, 4)
poly8, z, v, w = Polygon(V, W, Z)
A_1 = (4, 5)
B_1 = (3, 2)
C_1 = (5, 2)
poly9, c_1, a_1, b_1 = Polygon(A_1, B_1, C_1)
D_1 = (5, 4)
E_1 = (7, 3)
F_1 = (6.98, 1.32)
poly10, f_1, d_1, e_1 = Polygon(D_1, E_1, F_1)
tr = false
te = false
ti = false
ts = false