View Problem

Left Space pad a number

Given the number 73 left pad it to 10 characters "        73"
ExpandDiskEdit
erlang
Formatted = io_lib:format("~10B", [73]),
ExpandDiskEdit
erlang
io:format("~10B~n", [73]).

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