Create triangle.py