def zfill(x, width):
 if (not isinstance(x, basestring)):
  x = repr(x)
 return x.zfill(width)

def zfill ( x , width ) : if ( not isinstance ( x , basestring ) ) : x = repr ( x ) return x . zfill ( width )
zfill -> string pad a numeric string x with zeros on the left .