def print_color(word): """Print hello world to the console forever""" try: print(c.clear) while True: print(c.rc() + "Hello " + c.rc() + word + c.x,end = " ") except KeyboardInterrupt: print(c.clear) exit()
def print_helloloop(word): """prints hello world in a loop""" try: print(c.clear) while True: print(c.rc() + "Hello " + c.rc() + word) except KeyboardInterrupt: print(c.clear) exit()
def print_color(message): """Fills the screen with randomly colored <message>s. Args: message (str): message to print """ print(c.clear) while True: print(c.rc() + message + c.reset, end=" ")
def print_strawberry(message): while True: buf = "" for character in message: color = [ c.red, c.base03, c.g, c.r ] buf += c.rc() + random.choice(color) + character print(buf, end=" ")
def print_merica(message): while True: buf = "" for character in message: #for word in message.split(): color = [ c.red, c.blue, c.base3 ] buf += c.rc() + random.choice(color) + character print(buf, end=" ")
def print_plain(word): """clears screen and prints it 1x""" try: print(c.clear + c.rc() + word + c.reset) except KeyboardInterrupt: exit()
def print_color(message): """Prints hello in color""" print(c.clear) while True: print(c.rc() + message + c.reset, end=" ")
def nyan(message): """print hello world in nyan""" while True: print(c.rc() + message, end= " ")
def nyan(message): "Nyan-esque message" print(c.clear) while True: print(c.rc() + message, end = " ")
def plain(message): "Normal message" print(c.clear + c.rc() + message + c.reset)
def ayylmao(): "ayy lmao" print(c.clear + c.rc() + "ayy..") t.sleep(1) while True: print(c.rc() + "LMAO", end = "")
def print_ascii(who): print(c.rc() + """ | | |--- | | |---| | |-----| |--- | | | | | | | |--- |---- |---- |---| O """ + who)
def print_forever(message): """Prints Hello World in random colors all over the screen""" print(c.cl) while True: print(c.rc() + message + c.reset, end = " ")
def random(message): """Prints hello world in pretty colors""" while True: print(c.clear + c.rc() + (message))
def print_color(message): print(c.cl, end="") while True: print(c.rc() + message + c.x, end=" ")
def print_plain(message): '''Clears the screen & says 'Hello World'.''' print(c.clear + c.rc() + message + c.reset)
def print_colored(message): '''Prints like nyan.''' print(c.clear) while True: print(c.rc() + message + c.x, end=" ")
def print_plain(message): print(c.cl + c.rc() + message + c.reset)
def print_color(message): """Prints hello World in a random color""" print(c.cl + c.rc() + message + c.x)
def print_nyan(message): """Prints <message> forever""" while True: print(c.rc() + message , end=" ")
def print_forever(message): while True: print(c.rc() + message)
def print_color(message): """Prints hello in a random color each time""" print(c.rc() + message + "!" + c.reset)