Python 數字. 描述. choice()方法返回一個列表,元組或字符串的隨機項。 語法. 以下是choice() 方法的語法: import random random.choice( seq ).
確定! 回上一頁