Sierpinski Fractal by murky-satyr

using System.Console;mutable f=[@" /\",@"/__\"];repeat(Read()-49)f=f.Map(string(' ',f.Length)+_)+f.Map(x=>x+string(' ',x.IndexOf('/'))+x);f.Iter(WriteLine)

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

download

return to the top page