#NEWLINE# def capitalizeOne( str ) : #NEWLINE# #INDENT# result = '' #NEWLINE# strs = str . split ( '_' ) #NEWLINE# for a_str in strs : #NEWLINE# #INDENT# result += ( a_str [ 0 ] . upper ( ) + a_str [ 1 : ] ) #NEWLINE# #UNINDENT# return strs