Created
May 28, 2021 08:46
-
-
Save thinkphp/f0d2a80e080f791b6138d094220be950 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
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