title: Python code to print out value in any variable
body: <p>What are some good ways to &quot;pretty print&quot; values of any variable (and anything inside the variable), whether it is:</p>
  <ul>
  <li>scalar</li>
  <li>object</li>
  <li>list of scalar or objects</li>
  <li>dict of scalar or objects</li>
  <li>tuple of scalar or objects</li>
  </ul>
  <p>Thanks</p>