Skip to content

Instantly share code, notes, and snippets.

@thinkphp

thinkphp/mindReader

Created May 28, 2021
Embed
What would you like to do?
from time import sleep
from sys import stdout
def printt(string, delay = 0.05):
for c in string:
stdout.write(c)
stdout.flush()
sleep(delay)
print("")
reset = '\033[0m'
bold = '\033[1m'
black = "\033[38;5;232m"
red = "\033[38;5;124m"
green = "\033[38;5;34m"
yellow = "\033[38;5;226m"
blue = "\033[38;5;21m"
magenta = "\033[38;5;57m"
cyan = "\033[38;5;87m"
bright_black = "\033[38;5;240m"
bright_red = "\033[38;5;196m"
bright_green = "\033[38;5;118m"
bright_yellow = "\033[38;5;228m"
bright_blue = "\033[38;5;45m"
bright_magenta = "\033[38;5;92m"
bright_cyan = "\033[38;5;123m"
bright_white = "\033[38;5;254m"
def main():
printt(green + "Hello! My name is MindREader from" + yellow +" Artificial Intelligence" + bright_red + " and I can read your mind!")
printt(bright_green + '''
_______. _______ _______
/ || ____|| ____|
| (----`| |__ | |__
\ \ | __| | __|
.----) | | |____ | |____
|_______/ |_______||_______|
I told you I would read your mind! ''')
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment