Christmas tree by pooq

for(i,0,n:=File standardInput readLine asNumber-1,writeln(" "repeated(n-1-a:=i%n),"*"repeated(a*2+1)))

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

download

return to the top page