View Problem

Zero pad a number

Given the number 42, pad it to 8 characters like 00000042
DiskEdit
python
"%08d" % 42

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