Created
September 1, 2015 04:53
-
-
Save ollien/58eba85e352aae022e9d to your computer and use it in GitHub Desktop.
Pew
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
import random | |
import time | |
from termcolor import cprint | |
colors = ["grey", "red", "green", "yellow", "blue", "magenta", "cyan", "white"] | |
while True: | |
tempColors = list(colors) | |
foreground = random.choice(tempColors) | |
tempColors.remove(foreground) | |
background = "on_%s" % random.choice(tempColors) | |
cprint("pew", foreground, background, end = "") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment