Contact: aviboots(AT)netvision.net.il
41,604 questions
54,252 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 '''