title: In Python, how do I rotate a matrix 90 degrees counterclockwise?
body: <pre><code>&gt;&gt;&gt; def rotate_matrix( k: List[List[int]]):
      """
      For example, if I have:
      m = [[1,2,3],
           [2,3,3],
           [5,4,3]]
      rotate_matrix(m) should give me [[3,3,3],[2,3,4],[1,2,5]]. 
      """
  </code></pre>
  
  <p>Edit: Preferably without numpy. </p>