title: Adding values to dictionary using while loop
body: <p>Hey Im having a problem with my while loop for adding values to dictionary</p>
  
  <pre><code>contacts = {}
  addContact = 'yes'
  while addContact == 'yes':
      name1 = input('Please enter the name of the contact: ')
      num = int(input('Please enter the phone number of the contact: '))
      email1 = input('Please enter the email of the conact: ')
  
      contacts[name1] = num, email1
  
      addContact = input('Would you like to add another Contact? (yes or no): ')
  
      if addContact == 'no':
          break
  
  print(contacts)
  </code></pre>
  
  <p>The loop will only add the values that were last input by user, how can I get it to add all values?</p>