Skip to content

Instantly share code, notes, and snippets.

@light-bringer
Last active April 22, 2020 14:19
Show Gist options
  • Select an option

  • Save light-bringer/b885f147fad76469149a3de6668c8522 to your computer and use it in GitHub Desktop.

Select an option

Save light-bringer/b885f147fad76469149a3de6668c8522 to your computer and use it in GitHub Desktop.
somevalue = True
while (somevalue):
# do whatever shit you are doing
if input == 0:
# if this is a switch case, put this inside a switch statement
# python does not have a switch statement
somevalue = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment