主页
Python
Python - 遍历元组
demo_tuple_loop_index
运行 ❯
×
更改方向
保存代码
更改主题
thistuple = ("apple", "banana", "cherry") for i in range(len(thistuple)): print(thistuple[i])
apple banana cherry