隨機模組要先import random 從列表中隨機選取import random data = random.choice([1, 5, 6, 10, 20]) print(data) 從列表中隨機選取N 筆資料, ...
確定! 回上一頁