9 Answers · 5. There is maybe not a good way, but a way that is just as good as np.random. · 1. Before numpy 1.7, use random.sample( xrange(10), 2 ).
確定! 回上一頁