title: Using dictionaries to create a variable as a variable name
body: <p>I've been researching this for a while, and have seen some questions similar to mine, but I don't quite understand / think they're what I'm looking for. I'm trying to do something like this:</p>
  
  <pre><code>def run():
      cost = input("enter cost")
      size = input("enter size")
      print("For color, 1 = red, 2 = blue, 3 = green, enter one")
      color = input("enter color")
  
      shoe1 = [cost, size, color]
  
  
      repeat = input("Do you want to order another shoe? Y/N")
  
      if repeat == "Y" or repeat == "y":
          run()
  </code></pre>
  
  <p>But then, save shoe1 so that it isn't redefined when we re-run the function, and that a new list is defined, maybe shoe2 (Or any variable name). So that at the end we can list all the shoes, and specifications of the shoes that were ordered. Other questions said that a dictionary should be used for this, how might I do that?.All help appreciated, thanks a bunch!</p>