Last active
August 29, 2015 14:22
-
-
Save tjguk/e89e21af72f111dfcf28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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