假设我有以下列表:
foo = ['a', 'b', 'c', 'd', 'e']
从此列表中随机检索项目的最简单方法是什么?
python random list
list ×1
python ×1
random ×1