Discuss / Python / 打卡

打卡

Topic source

唐龙ya

#1 Created at ... [Delete] [Delete and Lock User]

it = iter(1,2,3,4,5)

while True:

try:

x = next(it)

print(x)

except stopiteration

break


  • 1

Reply