title: how to apply FOR LOOP for the two different data
body: <p>This my data</p>
  
  <pre><code>data1 = [0, 1.12, 0.96]
  data2 = [0.96, 0, 0]
  data3 = [0, 1.2, 1.28]
  
  length_T_bd = 220 #Newton
  length_T_be = 250 #Newton
  length_r_bd = 0
  r_d = np.array(data1)
  r_b = np.array(data2)
  r_e = np.array(data3)
  </code></pre>
  
  <p>calculations</p>
  
  <pre><code>r_bd = r_b - r_d
  r_be = r_b - r_e
  
  for value in r_bd:
      length_r_bd += value ** 2
      length_r_bd = np.sqrt(length_r_bd)
      u_bd = r_bd / length_r_bd
      T_bd = length_T_bd * u_bd
  </code></pre>
  
  <p>I can obtain T_bd as it is seen above. Also, i want to obtain T_be by the same procedure. However i need to use FOR LOOP two times to do this. </p>
  
  <p>Is there any option to make it more wisely.</p>