Skip to main content

Timeline for Print a Christmas Tree

Current License: CC BY-SA 4.0

2 events
when toggle format what by license comment
Oct 8, 2018 at 11:20 comment added mazzy You can to save some bytes: {n:Int->(-1..n).map{if(it<0)"".padEnd(n)+"*" else "".padEnd(n-it)+"0".repeat(it*2+1)}.joinToString("\n")}
Oct 8, 2018 at 2:39 history answered JohnWells CC BY-SA 4.0