add 0 in front of number python code example Example: how to append leading zeros in python str.zfill(width)