Untitled
raw download clone
TEXT
views 36
,
size 1184 b
import sys 
from termcolor import colored, cprint 
  

  
cprint("Happy Rose Day", 'blue', attrs=['bold'], file=sys.stderr) 

def pr(x,y,z):
        for x in range(x,y,z):
                if x == 7:
                        cprint(" "*(8-x)+"* "*(x//2-1)+"x "+"@ "+"x "+"* "*(x//2-1), 'red', attrs=['bold'], file=sys.stderr)
                elif x == 5:
                        cprint(" "*(8-x)+"* "*(x//2)+"x "+"* "*(x//2), 'yellow', attrs=['bold'], file=sys.stderr)
                else:
                        cprint(" "*(8-x)+"* "*x, 'red', attrs=['bold'], file=sys.stderr)
pr(1,8,2)
pr(7,1,-2)
cprint(" "*6+"* *",'red', attrs=['bold'], file=sys.stderr)
for x in range(7):
        if x in [2,4]:
                cprint(" "*(6-2)+"* "+" "+"|"+' '+" *", 'green', attrs=['bold'], file=sys.stderr)

        elif x == 3:
                cprint(" "*3+"*"+" "+" *"+"="+"* "+" "+"*", 'green', attrs=['bold'], file=sys.stderr)
        else:
                cprint(" "*6+" | ", 'green', attrs=['bold'], file=sys.stderr)
cprint('  -----------', 'blue', attrs=['bold'], file=sys.stderr)

cprint('  T B O R T H  ', 'green','on_red', attrs=['bold'], file=sys.stderr)
close fullscreen
Login or Register to edit or fork this paste. It's free.