?
-
Hi,
If I have a simple for loop like this:
for a in b:
print a
Is there a way I can get the next element in the loop? Something like this:
for a in b:
if a == 1:
print <next a>
If I have a simple for loop like this:
for a in b:
print a
Is there a way I can get the next element in the loop? Something like this:
for a in b:
if a == 1:
print <next a>