Contact: aviboots(AT)netvision.net.il
31,166 questions
40,722 answers
573 users
lst = [3, 12, 7, 5, 15, 871] for n in lst: print (str(n).rjust(4, '0')) ''' run: 0003 0012 0007 0005 0015 0871 '''