To pick a random element from a Python list with the random.choice() method. E.g. random.choice(nums) returns a random number from a list.
確定! 回上一頁