Christmas tree by pooq

procedure main()
n:=read()-1
every write(repl(" ",n-1-(i:=0to n)%n),repl("*",i%n*2+1))
end

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

download

return to the top page