code: def zfill(x, width):
      
      if not isinstance(x, basestring):
          x = repr(x)
      return x.zfill(width)
docs: zfill(x, width) -> string
  
      Pad a numeric string x with zeros on the left, to fill a field
      of the specified width.  The string x is never truncated.