| 1 | initial version |
Is that all you want?
One way to do that.
for k in range(9):
if k != 3:
if k != 4:
print(k)
else:
pass
else:
print(20)
# i want to skip the next iteration
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.