title: how to iterate a dictionary?
body: <p>please help to fix the script. </p>
  
  <pre><code>slides = {
      'blue': 'active',
      'red': 'active',
      'green': 'unactive',
      'orange': 'active',
      'navy': 'active'
  }
  
  li = []
  li[:] = []
  for color in slides.keys():
      li.append(color)
  print(li)
  </code></pre>
  
  <p>I need the array to "LI" placed in the dictionary "slides" only items with a value of "active". then the code should be as concise </p>