Birthday code









import sys

import time

from time import sleep

import itertools

import threading



love=("HAPPY BIRTHDAY ")

love1 = ("heart")

print("")

sleep(1)

print("")

print(' 10.00.2020 ')

print("")

sleep(1)

print(" šŸ‘‘   šŸ‘‘   šŸ‘‘ ")


print("                          ✨")

print("                         |||")

sleep(1)

print("        šŸŽˆ               |||")

sleep(1)

print("                         |||            šŸŽˆ")

sleep(1)

print("                       $$$$$$$")

print("                       $$$$$$$")

print("                       $$$$$$$")

sleep(1)

print("                       $$$$$$$")

print("                       $$$$$$$")

sleep(1)

print("                       $$$$$$$                       šŸŽ‡  šŸŽ‰")

print("           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")

sleep(1)

print("           $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$")

sleep(1)

print("     šŸŽˆ    |||||||| HAPPY BIRTHDAY ||||||||  šŸŽ‡   šŸ‘‘ ")

print("  šŸ”„       !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")

sleep(1)

print("           $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$")

print("         !!!!!!!!!!! (            )  !!!!!!!!!")

print("           $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$")

sleep(1)

print("           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")

print("           $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$")

sleep(1)


print("")

print("")

def main():

    a = 0  

    for x in range (0,8):  

        a = a + 1  

        b = ("šŸŽ‚ " + " šŸŽ‰  šŸŽ  " * a)

        # \r prints a carriage return first, so `b` is printed on top of the previous line.

        sys.stdout.write('\r'+b)


        time.sleep(0.5)

main()

sleep(1)

main()

print("")


print("")

sleep(2)

print("          I WISH YOU MANY MORE HAPPIEST OF BIRTHDAYS!\n""!")

sleep(2)

print("          LIVE YOUR LIFE WITH SMILES, NOT TEARS. šŸŽ‡  šŸŽ‰")

sleep(1)

print("šŸ‘‘  ")

done = False

#here is the animation

def animate():

    for c in itertools.cycle(['|', '/', '-', '\\']):

        if done:

            break

        #sys.stdout.write('\ršŸŽ‚ ' + c)

        sys.stdout.flush()

        #time.sleep(0.1)

    sys.stdout.write(f'\rGodbless You{love1} \n\nšŸ˜ \n   ')

    print("STAY BLESSED!")

    print("Done by:")

    print("       K.S.Kamodhraja")   

   

t = threading.Thread(target=animate)

t.start()

time.sleep(0.1)

done = True


 

Comments