Skip to content

Instantly share code, notes, and snippets.

@poros
Created October 4, 2015 12:59
Show Gist options
  • Save poros/4260e77eec616101557f to your computer and use it in GitHub Desktop.
Save poros/4260e77eec616101557f to your computer and use it in GitHub Desktop.
For else
for x in numbers:
if x % 2 == 0:
print "it's alright!"
break
else:
raise ValueError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment