I am trying to pad zeroes to the left of the string. I need to generate basically numbers in the following format. FOr some reason it prints the number like this 10,20, ...