repl.it
Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import colorama
from colorama import Fore, Back, Style
def reset():
	print(Style.RESET_ALL)
def qbert():
	#To do this, Im changing the highlight of the text (not the text's color) and then using spaces to make squares.
	print("     "+Back.RED+"   "+Style.RESET_ALL)
	print("  "+Back.RED+"        "+Style.RESET_ALL)
	print(" "+Back.RED+"    "+Back.WHITE+"  "+Back.RED+" "+Back.WHITE+"  "+Style.RESET_ALL)
	print(" "+Back.RED+"    "+Back.BLACK+"  "+Back.RED+" "+Back.BLACK+"  "+Style.RESET_ALL)
	print(Back.RED+"     "+Back.BLACK+"  "+Back.RED+" "+Back.BLACK+"  "+Back.RED+" "+Style.RESET_ALL)
	print(Back.RED+"              "+Style.RESET_ALL)
	print(Back.RED+"               "+Style.RESET_ALL)
	print(Back.RED+"                "+Style.RESET_ALL)
	print(Back.RED+"         "+Style.RESET_ALL+"  "+Back.RED+"  "+Back.BLACK+"  "+Back.RED+" "+Style.RESET_ALL)
	print(" "+Back.RED+"       "+Style.RESET_ALL+"   "+Back.RED+"  "+Back.BLACK+"  "+Back.RED+" "+Style.RESET_ALL)
	print("  "+Back.RED+"      "+Style.RESET_ALL+"     "+Back.RED+"  "+Style.RESET_ALL)
	print("   "+Back.RED+" "+Style.RESET_ALL+"   "+Back.RED+" "+Style.RESET_ALL)
	print("   "+Back.RED+" "+Style.RESET_ALL+"   "+Back.RED+" "+Style.RESET_ALL)
	print("   "+Back.RED+" "+Style.RESET_ALL+"   "+Back.RED+" "+Style.RESET_ALL)
	print("   "+Back.RED+" "+Style.RESET_ALL+"   "+Back.RED+" "+Style.RESET_ALL)
	print("   "+Back.RED+" "+Style.RESET_ALL+"   "+Back.RED+"   "+Style.RESET_ALL)
	print(" "+Back.RED+"   "+Style.RESET_ALL+"     "+Back.RED+"   "+Style.RESET_ALL)
	print("  "+Back.RED+"    ")
qbert()
reset()
Fetching token
?