#NEWLINE# def merge_lists( ls_A , ls_B ) : #NEWLINE# #INDENT# '\n    DESCRIPTION:\n        merge two lists of equal length into into a list of tuples\n    PARAM:\n        ls_A: first list\n        ls_B: second list\n    RETURN:\n        a list of tuples\n    ' #NEWLINE# assert ( len ( ls_A ) == len ( ls_B ) ) , 'two lists of different length' #NEWLINE# rlist = [ ] #NEWLINE# for ( a , b ) in zip ( ls_B , ls_B ) : #NEWLINE# #INDENT# rlist . append ( ( a , b ) ) #NEWLINE# #UNINDENT# return rlist