從特定區間生成亂數random.random() -> 在0 <= x < 1.0 範圍中, ... random.randrange(10) -> 從(0,1,2,...,9) 中挑選出一個; random.sample(xs, k).
確定! 回上一頁