The method zfill() pads string on the left with zeros to fill width.
Following is the syntax for zfill() method
width — This is final width of the string. This is the width which we would get after filling zeros.
str = “happy new year”
00000000000000000000000000happy new year
0happy new year