Python 3, <s>79</s> <s>74</s> 69 bytes == def s(x,i=0): while i<x:i+=len(`x`);f=`i`;print"\b"+f.zfill(len(f)), increments the number to be printed by length of input, prints it with proper amount of zeros, until number is equal or greater (shouldn't be greater though) `\b` is backspace