Add together and multiply elements from different lists together in python as well as multiplying elements in those lists by other variables?

前端 未结 0 2060
闹比i
闹比i 2020-11-22 06:46
x1 = [] #list of 1st iteration coordinates
for i in range (num_discs):
    x_coords1 = xcoords[i] + (velocities[i]*delta_t) + (0.5*((list_of_f[i])/m)*(delta_t**2))
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题