#NEWLINE# def leadingZeros( sIn ) : #NEWLINE# #INDENT# complete = [ ] #NEWLINE# for i in range ( 0 , len ( sIn ) ) : #NEWLINE# #INDENT# temp = [ ] #NEWLINE# for x in range ( 0 , len ( sIn [ i ] ) ) : #NEWLINE# #INDENT# if ( len ( str ( sIn [ i ] [ x ] ) ) == 1 ) : #NEWLINE# #INDENT# temp . append ( ( '00' + str ( sIn [ i ] [ x ] ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( len ( str ( sIn [ i ] [ x ] ) ) == 2 ) : #NEWLINE# #INDENT# temp . append ( ( '0' + str ( sIn [ i ] [ x ] ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( len ( str ( sIn [ i ] [ x ] ) ) == 3 ) : #NEWLINE# #INDENT# temp . append ( str ( sIn [ i ] [ x ] ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# complete . append ( temp ) #NEWLINE# #UNINDENT# return complete