title: Python list print
body: <p>I am learning python and need some help with lists and printing of the same. </p>
  
  <p>List would end up looking list this: </p>
  
  <pre><code>mylist = ["a", "d", "c", "g", "g", "g", "a", "b", "n", "g", "a", "s", "t", "z", "a"]
  </code></pre>
  
  <p>I've used Counter(i think lol) </p>
  
  <pre><code>class item_print(Counter):
      def __str__(self):
          return '\n'.join('{}: {}'.format(k, v) for k, v in self.items())
  </code></pre>
  
  <p>to make it look like this:</p>
  
  <pre><code>a:4
  b:1
  etc
  </code></pre>
  
  <p>Wondering if there is a way to make it look like this:</p>
  
  <pre><code>   "a":4      "b":1
     etc        etc
  </code></pre>