I have a string with len of 2 or 3
s1 = 22
s2 = 27
s3 = 102
I want to return a string with 3 chars. If orig string was len of 2 - add 0 at the begginig. So output will be:
"022" , "027", "102".
Is there an elegant/one liner to do it in Python?