大數組傅里葉變換怎么在python里面實現?
#相當于C語言中的array[10]
array = [0 for i in range(10)]
array = [0] * 10
#相當于C語言中的array[10][10]
array = [[0 for j in range(10)] for i in range(10)]
array = [[0] for i in range(10)]
for i in range(10):
for j in range(10):
array[i].append(0)