Snippets tagged “rjust”
1 snippet uses this tag.
- How do I pad a string with zeroes?Python
You can use the zfill() method to pad a string with zeros on the left side.
1 snippet uses this tag.
You can use the zfill() method to pad a string with zeros on the left side.