w=0 for i in range(20): z=[" "]*20 for j in range(i+1):z[(w+j)%20]="1" w+=i+1;print("".join(z).rstrip())
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page