Skip to content

Instantly share code, notes, and snippets.

@tjguk
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjguk/e89e21af72f111dfcf28 to your computer and use it in GitHub Desktop.
Save tjguk/e89e21af72f111dfcf28 to your computer and use it in GitHub Desktop.
BLOCK_COLOURS = "purple", "lightgreen", "lightblue", "orange"
for n_block in range(8):
# stuff
colour = BLOCK_COLOURS[n_block % len(BLOCK_COLOURS)]
print(colour)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment