title: How do I loop through a second value in a dictionary?
body: <p>I'm trying to build a function that checks and returns an entry that matches its records.</p>
  <p>Only issue is that there are 2 values (album_title and songs) in the dictionaries and I don't know how to loop through the 2nd value.</p>
  <pre><code>def make_album(artist, album_title, songs = None):
      A = {
      'artist1': 'album1', 'songs': '1'
      }
      
      B = {
      'artist2': 'album2', 'songs': '2'
      }
      
      C = {
      'artist3': 'album3', 'songs': '3'
      }
  
      dicts = [A, B, C]
      
      for dictionary in dicts:
          for key, value in dictionary.items():
              if key == artist and value == album_title:
                  print(dictionary)       
  make_album('artist2', 'album2')
  </code></pre>
  <hr />
  <p>Any help is appreciated.</p>
  <p>Thanks!</p>