IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed

后端 未结 0 2665
不知归路
不知归路 2021-01-03 06:33
for i in range(1,1000):
xplot[i]=r[0]
yplot[i]=r[1]
accel=fa*norm(v)*v
accel[1]=accel[1]-g
r=r+h*v
v=v+h*accel

and ended up like this



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