Triangle by hallvabo

a=[]
n=input()
i=1
while i<n:
 a=[[]]+a
 for e in a:
\x09if i<=n:e+=`i`,;i+=1
for e in a:print' '.join(e)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page