random.choice will choose one of those numbers randomly. So let's say that we have a NumPy array of 6 integers … the numbers 1 to 6.
確定! 回上一頁