首页题库练习题目详情
Web程序设计单选题中等

在Python中,以下哪个循环可以用于遍历列表的每个元素?

Afor i in range(len(list))
Bwhile i < len(list):
Cdo-while循环(Python不支持)
Dfor element in list: