title: How can I print hello and all female members
body: <p>test.json</p>
  <pre><code>{
      &quot;A Company&quot;:[{&quot;female&quot;:[&quot;Jessica&quot;,&quot;Eve&quot;]},{&quot;male&quot;:[&quot;Mike&quot;,&quot;Peter&quot;]}],
      &quot;B Company&quot;:[{&quot;female&quot;:[&quot;Laura&quot;,&quot;Pamela&quot;]},{&quot;male&quot;:[&quot;Mark&quot;,&quot;Steve&quot;]}]
  }
  </code></pre>
  <p>test.py</p>
  <pre><code>import json
  
  f = open('test.json',)
  data = json.load(f)
  for v in data.values():
      for element in v:
          print(element)
  </code></pre>
  <p>Output:</p>
  <pre><code>{'female': ['Jessica', 'Eve']}
  {'male': ['Mike', 'Peter']}
  {'female': ['Laura', 'Pamela']}
  {'male': ['Mark', 'Steve']}
  </code></pre>
  <p>How can I print this: &quot;Hello Jessica&quot; &quot;Hello Eve&quot; &quot;Hello Laura&quot; &quot;Hello Pamela&quot;?</p>