title: How can I add a new row which shows the number of columns into my code
body: <p>I have lists as shown below:</p>
  
  <pre><code>l1=['N  N  N  N  M  M  M  W  W  N  W  W','N  W  W  W  N  N  N  N  N  N  N  N']
  l2=['A','B','C','D','E','F']
  </code></pre>
  
  <p>And here is my code:</p>
  
  <pre><code>for i in range(len(l1)):
      print(l2[i],l1[i])
  </code></pre>
  
  <p>My output is:</p>
  
  <pre><code>A N  N  N  N  M  M  M  W  W  N  W  W
  B N  W  W  W  N  N  N  N  N  N  N  N
  </code></pre>
  
  <p>I want a output like that (without using 3rd party libraries):</p>
  
  <pre><code>A N  N  N  N  M  M  M  W  W  N  W  W
  B N  W  W  W  N  N  N  N  N  N  N  N
    0  1  2  3  4  5  6  7  8  9 10 11
  </code></pre>
  
  <p>I've tried something like that but it didn't work:</p>
  
  <pre><code>l3=[j for j in l1[0] if j!=' ']
  print("  ",end='')
  for k in range(len(l3)):
      print("{}  ".format(k),end='')
  </code></pre>
  
  <p>and output is like that:</p>
  
  <pre><code>A N  N  N  N  M  M  M  W  W  N  W  W
  B N  W  W  W  N  N  N  N  N  N  N  N
    0  1  2  3  4  5  6  7  8  9  10  11 
  </code></pre>