Skip to content

Instantly share code, notes, and snippets.

@michaelfmnk
Last active March 14, 2018 20:22
Show Gist options
  • Save michaelfmnk/aa469ca9499c1330f52cf67e0ec68f38 to your computer and use it in GitHub Desktop.
Save michaelfmnk/aa469ca9499c1330f52cf67e0ec68f38 to your computer and use it in GitHub Desktop.
def new_sign_every_step():
sign = True
while(True):
yield sign
sign = not sign
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment