Add leading zeros to variable in list – PYTHON
Add leading zeros to variable in list Question: I tried to do some experimenting with variables in lists. Some of numbers wasn’t same length as original input. For example: Original: [012, 125, 032] Result: [12, 125, 32] How can I add leading zeros to equalise to original values? I Have tried zfill and format but …