BY CHULIS FILLED LANDING ZERO

mail@pastecode.io avatar
unknown
python
3 years ago
107 B
2
Indexable
Never

a_number=123
number_str = str(a_number)
zero_filled_number = number_str.zfill(5)
print(zero_filled_number)