K12教育赛事综合服务平台
聚乐之家官方网站
下载聚乐之家官方App
专注青少年竞赛题库网站
vegetables = ['potato', 'tomato', 'cucumber', 'carrot'] # 列表共有4个元素,合法索引范围为~3 idx = 9 % len(vegetables) print(vegetables[idx])
potato
tomato
cucumber
carrot