title: Python: find most common element in corresponding two lists
body: <p>I have two lists holding x and y co-ordinates of points where each corresponding element represents a point.</p>
  
  <p>Just an example, X_List = [1, 3, 1, 4], Y_List = [6, 7, 6, 1] then points are (1,6) (3,7) (1,6) (4,1). Thus, the most common point is (1,6).</p>
  
  <p>Here's my code:</p>
  
  <pre><code>Points=[]
  for x,y in zip(X_List, Y_List):
  Points.append([x,y])
  MostCommonPoint = max(set(Points), key=Points.count)
  </code></pre>
  
  <p>But, this will not work work as <em>Points</em> in a list which is unhashable type.</p>