Attempting triangle.py