python fill zeros left

my_str='9'
my_str.zfill(2)

Here is what the above code is Doing:
1. We create a string variable called my_str and set it equal to ‘9’.
2. We call the zfill() method on my_str and pass in 2 as an argument.
3. The zfill() method returns a new string with the original string padded with zeros on the left side.
4. We print the new string to the console.