Why is multiple assignment here giving unexpected results?

后端 未结 0 1835
轮回少年
轮回少年 2020-11-22 17:17

Code:

import numpy as np

def f(a):
    return np.array([0, 1])

N_x, N_y = 4, 3

U = V = np.zeros((N_x, N_y))

for n_y in range(N_y):
    for n_x in range(N_         


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