choice: 从序列中获取一个随机数 eg:print(random.choice("python")) shuffle:用于将一个列表中的元素打乱 eg:random.shuffle(names)
確定! 回上一頁