Can't iterate over a list and retrieve attributes from objects

后端 未结 0 1026
滥情空心
滥情空心 2021-02-11 19:56
import numpy as np

class test:
    def __init__(self, num1, num2):
        self.num1 = num1
        self.num2 = num2

arr = []

for i in range(10):
    x = np.random.un         


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