Update comments in triangle.py