Python str a to 000000 code example
Example: string format zero padded int python
i = 69
s = f'{i:03}' # for Python >= 3.6, zero padding to have 3 digits
i = 69
s = f'{i:03}' # for Python >= 3.6, zero padding to have 3 digits