title: Why does Python Set automatically re-sorting my inputted set?
body: <p>below is my code, and when I print or use the Python set, it automatically re-sort my item, why does this happen?</p>
  
  <pre><code>a = {9,40,49}
  print(a)
  
  {40, 9, 49}
  </code></pre>
  
  <p>Below is notebook printed image.</p>
  
  <p><a href="https://i.stack.imgur.com/xiEDS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xiEDS.png" alt="Jupyter Notebook Auto Re-sorting"></a></p>