Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
乱数を生成する必要があります。実際には、1から70128までの70128個の乱数が必要です。使用しているものは次のとおりです。
index = numpy.random.randint(1,70128,70128)
もう 1 つは、1 から 70128 までの各数値を 1 回だけ生成する必要があることです。
これは、1 から 70128 までの 70128 個のランダムに生成された数字のリストが必要ですが、各数字は 1 回だけ発生する必要があることを意味します。