title: Added Keys in the dictionary stored in the correct order
body: <p>I would like to add other keys (digits in sequence) to individual values in the dictionary describing favorite cities. For example, I would like to add the cities Hamburg and Dortmund to viktor which will keep the order of keys 3,4. Unfortunately, the keys are overwritten giving this result:</p>
  <pre><code>Favorite cities: Viktor
  1, Dortmund
  2, Dresden
  0, Hamburg
  </code></pre>
  <hr />
  <pre><code>dict={&quot;Viktor&quot;:{1:&quot;Berlin&quot;,2:&quot;Dresden&quot;},&quot;Joe&quot;:{1:&quot;London&quot;,2:&quot;Liverpool&quot;}}
  
  name=input(&quot;What is your name? &quot;).title()
  if name not in dict:
    print(&quot;You are not in the database.&quot;)
    exit()
  q = input(&quot;Enter how many your favorite cities you want to add &quot;)
  if q.isdigit():
    q = int(q)
    for d in range(q):
      fav_city = input(&quot;Enter your favorite city: &quot;)
      dict[name][d] = fav_city
      print(fav_city, &quot;added&quot;)
  
    for person, city in dict.items():
      print(f&quot;Favorite cities: {person}&quot;)
      for nummer, city1 in city.items():
        print(f&quot;{nummer}, {city1}\n&quot;)
  else:
    print(&quot;Enter a digit!&quot;)
    exit()
  </code></pre>