File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -321,33 +321,24 @@ def area_triangle_two_sides_included_angle(
321321
322322 >>> round(area_triangle_two_sides_included_angle(10, 10, 30), 1)
323323 25.0
324-
325324 >>> round(area_triangle_two_sides_included_angle(10, 10, -30), 1)
326325 25.0
327-
328326 >>> round(area_triangle_two_sides_included_angle(10, 10, 330), 1)
329327 25.0
330-
331328 >>> round(area_triangle_two_sides_included_angle(10, 10, 180), 1)
332329 0.0
333-
334330 >>> round(area_triangle_two_sides_included_angle(10, 10, 0), 1)
335331 0.0
336-
337332 >>> round(area_triangle_two_sides_included_angle(0, 10, 120), 1)
338333 0.0
339-
340334 >>> area_triangle_two_sides_included_angle(1, -1, 1)
341335 Traceback (most recent call last):
342336 ...
343- ValueError: area_triangle_two_sides_included_angle() only accepts \
344- non-negative lengths
345-
337+ ValueError: ...
346338 >>> area_triangle_two_sides_included_angle(-1, 1, 1)
347339 Traceback (most recent call last):
348340 ...
349- ValueError: area_triangle_two_sides_included_angle() only accepts \
350- non-negative lengths
341+ ValueError: ...
351342 """
352343 if side1 < 0 or side2 < 0 :
353344 raise ValueError (
You can’t perform that action at this time.
0 commit comments