python fill with zeros left code example
Example 1: fill zero behind number python
f_num.strip().zfill(2)
Example 2: python fill zeros left
>>> n = '4'
>>> print(n.zfill(3))
004
f_num.strip().zfill(2)
>>> n = '4'
>>> print(n.zfill(3))
004