Printing Triangles with Python

Prompt

Result