#How do I even start the Triangle categorisation question in Python
4 messages · Page 1 of 1 (latest)
Hi! In the practice exercises you are supposed to read the tests. They are the specification.
This is the first test:
def test_all_sides_are_equal(self):
self.assertIs(equilateral([2, 2, 2]), True)
You can see that it passes the argument [2, 2, 2] to the function equilateral and expects the result to be True.