#NEWLINE# def _equals( marks_list1 , marks_list2 ) : #NEWLINE# #INDENT# l1 = sorted ( marks_list1 ) #NEWLINE# l2 = sorted ( marks_list2 ) #NEWLINE# if ( len ( l1 ) != len ( l2 ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# for ( i , _ ) in enumerate ( l1 ) : #NEWLINE# #INDENT# if ( l1 [ i ] != l2 [ i ] ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# #UNINDENT# return True