See the general homework guidelines!
Create a text file triangle.py
. In it, define function is_right(a, b, c)
which
True
when the numbers a
, b
, c
represent side lengths of a right triangle, and
False
otherwise.
Assume that you will always get 3 positive integers as arguments. But DO NOT ASSUME that you will get them in any specific order!