i want to transform this result to type list, in python

前端 未结 0 827
情歌与酒
情歌与酒 2021-01-24 20:02
def sum(f,a,b):
  res = f[a]
  for n in range(a,b):
    res = res + f[n]
    n = n+1

  print(res)

N = 6 
k = np.linspace(-1*N/2,N/2,2*N+1)
x = np.linspace(0,N)
input =         


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