title: How does one insert a key value pair into a python list?
body: <pre><code>a = 1
  b = 2 
  </code></pre>
  
  <p>i want to insert a:b into a blank python list</p>
  
  <pre><code>list = []
  </code></pre>
  
  <p>as</p>
  
  <pre><code>a:b
  </code></pre>
  
  <p>what is the proper syntax for this, to result in </p>
  
  <pre><code>[(a:b), (c:d)]
  </code></pre>
  
  <p>?</p>
  
  <p>this is just so I can sort the list by value from least to greatest later</p>