n means number of random indices. Then if A is an array, first we need to generate random indices among all A indices like import numpy as np n = 2 ...
確定! 回上一頁