主页
Python
Python - 循环遍历列表
demo_list_while_loop
运行 ❯
×
更改方向
保存代码
更改主题
thislist = ["apple", "banana", "cherry"] i = 0 while i < len(thislist): print(thislist[i]) i = i + 1
applebananacherry