title: Repeating input to dictionary loop
body: <p>"Create a dictionary whose keys are names and whose value for a key is a favorite food of the person with that name as follows:
  -   The program should prompt for a name and  favorite food and keep inputting names and favorite foods until the user enters an empty string for the name."</p>
  
  <p>So far I have:</p>
  
  <pre><code>mydict=dict()
  def favorite_food_name():
      name=input(str("name:"))
      food=input(str("food:"))
      mydict[name]=food       
      print(mydict)
  favorite_food_name()
  </code></pre>
  
  <p>But I can't get the code to repeat in any kind of loop.  What kind of loop would you use?</p>