PSP-produced Python Code: /var/www/html/teste/python/psp/indentation2.psp:
1. req.write("""<html><body> <html><body>
2. """,0); <%
3. for i in range(10): for i in range(10):
4.    # for i loop start    # for i loop start
5.    req.write(""" %>
6. <p>""",0); req.write(str( i ),0); req.write(""" <p><%= i %>
7. """,0); <%
8.    for j in range(i +1, 10):    for j in range(i +1, 10):
9.       # for j loop start       # for j loop start
10.       req.write(""" %>
11. """,0); req.write(str( j ),0); req.write(""" <%= j %>
12. """,0); <%
13.    # This comment marks the end of the for j loop    # This comment marks the end of the for j loop
14.    req.write(""" %>
15. </p> </p>
16. """,0); <%
17. # end of the for i loop # end of the for i loop
18. req.write(""" %>
19. </html></body> </html></body>
20. """,0)