title: How can I print over multiple lists in a loop while being mapped to each other?
body: <p>By using the function I made, I want to print the records of all the employees using only one loop.</p>
  <pre><code>     Record = [[&quot;ali&quot;, &quot;Mazen&quot;, &quot;Fida&quot;, &quot;Nader&quot;, &quot;Majd&quot;], [&quot;Tutor&quot;, &quot;IT&quot;, &quot;Manager&quot;, &quot;PR&quot;, &quot;Clerk&quot;]]
      def Netsal(salary):
          bonus=0
          if salary&lt;2000:
              bonus = 300
          elif salary&gt;=4000:
              bonus = 100
          else:
              bonus = 200
          return salary + bonus
      Sal=[2200,1600,4000,2000,1400]
      holder=[]
      for base_salary in Sal:
          total_salary=Netsal(base_salary)
          holder.append(total_salary)
      for total_salary in Netsal(base_salary):
          print(Record, total_salary)
  </code></pre>
  <p>I'm kinda lost when it comes to printing because I need to have an output like:</p>
  <pre><code>Mazen - IT : 1900
  </code></pre>
  <p>So the two sublists in the record need to also be mapped to the new salary list with the bonus.</p>
  <p>Plus I need to loop over the lists and print all the values in the format I showed above.</p>