title: Python script with a loop and a conditional statemen
body: <p>i am trying to create a script with  a loop and a conditional statement to find the value of the number of dogs in the following collection of key-value pairs but i am just not getting my head around it.</p>
  <p>so how do i find the value of the number of dogs in the following collection of key-value pairs,</p>
  <p>Cheers
  Vlad</p>
  <pre><code>
   for value in KC.values():
    if 'Dogs' in value:
         return value
  </code></pre>