title: Convert coordinates like 23AC to (x,y)
body: <p>I have matrix of coordinates in format XXYY where XX and YY are numbers (0 to 10,000) but Y is represented using letters (A = 1, B = 2, AA = 27 and so on).</p>
  
  <p>points = ["2B", "29AA", "18F", "5AG"]</p>
  
  <p>how can i convert this to something like?</p>
  
  <p>xy_points = [(2, 2), (29, 27), (18, 6), (5, 33)]</p>
  
  <p>My first thought was to use int() and ord(), but things get complicated when a Y coordinate is more than one letter (AZ, AE, BE).</p>
  
  <pre><code>A = ["1", "2", "3", "B"]
  C = [list(map(lambda x: int(x) if x.isdigit() else ord(x) - 64, A))]
  print(C)
  </code></pre>
  
  <p>I know i can get the string letter by letter and convert it to an integer using base 26. (i.e. for AG would be (ord("A") - 64) * 26 + (ord("G") - 64)). But that would involve a lot of lines.</p>
  
  <p>Is there a simple way to do so?</p>