View Problem

Left Space pad a number

Given the number 73 left pad it to 10 characters "        73"
DiskEdit
groovy
println 73.toString().padLeft(10)
DiskEdit
groovy
printf "%10d\n", 73

Submit a new solution for groovy
There are 26 other solutions in additional languages (clojure, cpp, csharp, erlang ...)