title: Dictionary/For loops only returns one value?
body: <p>I create <code>list_cv</code> and wanted to write a function which returns the name of people, so for example if I type <code>has_expereince_as(list_cv,'bi_analyst')</code> it should return the value 'Marry' and 'James'.
  However, my function only returns one value 'Marry' when I give 'bi analyst'.
  I couldn't find the reason why.</p>
  <pre><code>list_cv =[{'user': 'Marry','jobs': ['data analyst','bi analyst']},
             {'user': 'John','jobs': ['data specialist', 'data engineer', 'financial analyst']},
             {'user': 'James','jobs': ['bi analyst', 'cloud engineer', 'data analyst']}]
  
   def has_experience_as(list_cv,job_title):
       position=[]
       for i in range(len(list_cv)):
           if job_title in (list_cv[i]['jobs']):
               position.append(list_cv[i]['user'])
               return position
  
               has_experience_as(list_cv,'data analyst')
  </code></pre>
  <p>It only returns 'Marry'</p>