title: Python: printing in python?
body: <p>I want to print out the contents of a list in a specific format: </p>
  
  <p>Here's what I want it to look like: </p>
  
  <pre><code>        [
              "Zara",
              3.2
          ],
          [
              "Maxwell",
              3.3
          ],
          [
              "Norman",
              3.1
          ]
  </code></pre>
  
  <p>I'm confused how to achieve this output.  Right now, I have the individual elements in the list as strings that are of the format ("\"" + name + ""\" + ",\n" + grade).  However, I don't know how to achieve the proper indentation and bracketing for printing out the list.  Should I just manually print a [ and ], every time or is there a way to compile all the elements into one list, where a call to print list would result in the output above?  I could manually format the brackets, but that would leave the last bracket with a comma after it, which I do not want.  Any help would be greatly appreciated!</p>