运行 ❯
获取一个
你自己的 Python
服务器
×
更改方向
更改主题,深色/浅色
加入 Spaces
mylist = iter(["apple", "banana", "cherry"]) x = next(mylist, "orange") print(x) x = next(mylist, "orange") print(x) x = next(mylist, "orange") print(x) x = next(mylist, "orange") print(x)
苹果
香蕉
樱桃
橘子