I'm without clues on how to do this in Python. The problem is the following: I have for example an orders numbers like:
1
2
...
234567
I need to extract only the 4 last digits of the order number and if the order number have less than 4 digits I will substitute with zeros.
The required output is like this:
0001
0002
...
4567
Any clues? I'm a bit lost with this one.
Best Regards,