title: function with list inputs in python
body: <p>I am trying to create a function ex: </p>
  
  <pre><code>RotateElement (doc, lmnt_id, axis, angle)
  </code></pre>
  
  <p><code>lmnt_id</code>, <code>axis</code> and <code>angle</code> are inputs that will come in a form of a list. Ex: </p>
  
  <pre><code>axis = [line1, line2, line3]
  angle = [20, 25, 30]
  lmnt_id = [1, 2, 3]
  doc is a constant value
  </code></pre>
  
  <p>How can i call this function so that it iterates through the inputs. i want it to use line1, 20 and 1 when it runs for the first time but then line2, 25 and 2 when it runs second time and so on. I tried this but it only runs once:</p>
  
  <pre><code>for i in lmnt_ids:
      lmnt_id = i
      for j in axises:
          axis = j
          result.append(ElementTransformUtils.RotateElement (doc, lmnt_id, axis, angle))
  </code></pre>
  
  <p>Thank you!</p>