zfill method in python code example
Example 1: python zfill
num = "7"
print(num.zfill(2)) # prints "07"
Example 2: fill zero behind number python
f_num.strip().zfill(2)
num = "7"
print(num.zfill(2)) # prints "07"
f_num.strip().zfill(2)