title: Python How to print dictionary in one line?
body: <p>Hi I am new to Python and I am struggling regarding how to print dictionary.</p>
  
  <p>I have a dictionary as shown below.</p>
  
  <pre><code>dictionary = {a:1,b:1,c:2}
  </code></pre>
  
  <p>How can I print dictionary in one line as shown below?</p>
  
  <pre><code>a1b1c2
  </code></pre>
  
  <p>I want to print keys and values in one line but could not figure out by myself.</p>
  
  <p>I would appreciate your advice!</p>