Birthday patterns


 import sys

import time
from time import sleep
import itertools
import threading


print("")
print("")
print("")
print("                                                             *                            *   ")
sleep(0.30)
print('             *                             *                 |               *                                      *                   ')
sleep(0.30)
print('                          *                                 |||          *                  *             * ')
sleep(0.30)
print('                                   *                       |||||                    *                                              * ')

sleep(0.30)
print('                 *                                        |||||||          *                            * ')
sleep(0.30)
print('                            *                             $$$$$$$                 *   ')
sleep(0.30)
print('                                           *              |||||||                                                    * ')
sleep(0.45)
print('                       *            *                     $$$$$$$          *          ')
sleep(0.45)
print('                   *                                      |||||||                       *       ')
sleep(1)
print('                                                          $$$$$$$               *     ')
sleep(0.30)
print('                                  *                       $$$$$$$      *                      *  ')
sleep(0.30)
print('                                              *           |||||||                  *  ')
sleep(0.30)
print('               *                        |#.=$.$.=$.=$.$.=$.=$.$.=$.=$.$.=$.=$.$.=$.#|')
sleep(0.30)
print('                        *               ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||        *')
print('                                        |||||||| WISH |||||||||||||||||||||||||||||||                 *  ')
sleep(0.45)
print('         *                              ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||      *                                     * ')
sleep(0.45)
print('                       *                ||||||||||||| YOU |||||||||||||||||||||||||||              *')
sleep(0.45)
print('                                        ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||       *                             *')
sleep(0.45)
print('                                        ||||||||||||||||| HAPPY |||||||||||||||||||||                         *')
sleep(0.45)
print('             *                          ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||          *                           *')
sleep(1)
print('                                        ||||||||||||||||||||| BIRTHDAY ||||||||||||||       *')
sleep(0.45)
print('                       *                ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$||                         *            ')
sleep(0.45)
print('                                        ||||||||||||||||| [NAME] ||||||||||||||||||||        *')
sleep(1)
print('                                        ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||')
sleep(1)
print("")
def main():
    a = 0  
    for x in range (0,8):  
        a = a + 1  
        b = ("Loading" + "." * 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(2)
print("")
done = False
#here is the animation
def animate():
    for c in itertools.cycle(['|''/''-''\\']):
        if done:
            break
        sys.stdout.write('\rloading ' + c)
        sys.stdout.flush()
        time.sleep(0.1)
    sys.stdout.write('\rGodbless You \n\n\n   ')


t = threading.Thread(target=animate)
t.start()

#long process here
time.sleep(10)
done = True

#print (a)



# second code
--------------------------------------------------------------
import sys
import time
from time import sleep
import itertools
import threading
import emoji

love=emoji.emojize("HAPPY BIRTHDAY :red_heart:")
love1 = emoji.emojize(" :red_heart:")

print("")
print("")
print("")
print("                                                             *                            *   ")
sleep(0.30)
print(f'             *                              *                |               *        {love1}                              *                   ')
sleep(0.30)
print(f'                          *                   {love1}            |||          *                  *             * ')
sleep(0.30)
print('                                   *                       |||||                    *                                              * ')
sleep(0.30)
print(love                      ,'     *                     *             |||||||          *                            * ')
sleep(0.30)
print('                            *                             $$$$$$$                 *   ')
sleep(0.30)
print('                                           *              |||||||                                                    * ',love1)
sleep(0.45)
print('                       *            *                     $$$$$$$          *          ')
sleep(0.45)
print(love1,'                   *                                   |||||||                       *       ')
sleep(1)
print(f'*       {love1}.                                               $$$$$$$               *     ')
sleep(0.30)
print('                                  *                       $$$$$$$      *                      *  ',love1)
sleep(0.30)
print('                                              *           |||||||                  *  ')
sleep(0.30)
print('               *                        |#.=$.$.=$.=$.$.=$.=$.$.=$.=$.$.=$.=$.$.=$.#|')
sleep(0.30)
print('                        *               ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||        *')
print('                                        |||||||| WISH |||||||||||||||||||||||||||||||                 *  ')
sleep(0.45)
print('         *                              ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||      *                                     * ')
sleep(0.45)
print('                       *                ||||||||||||| YOU |||||||||||||||||||||||||||              *')
sleep(0.45)
print('                                        ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||       *                             *')
sleep(0.45)
print('                                        ||||||||||||||||| HAPPY |||||||||||||||||||||                         *')
sleep(0.45)
print('             *                          ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||          *                           *')
sleep(1)
print('                                        ||||||||||||||||||||| BIRTHDAY ||||||||||||||       *',love1)
sleep(0.45)
print(love1,  '               *                     ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$||                         * ',love1)
sleep(0.45)
print('                                        ||||||||||||||||| [NAME] ||||||||||||||||||||        *')
sleep(1)
print('                                        ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||')
sleep(1)
print("")
print("")
def main():
    a = 0  
    for x in range (0,8):  
        a = a + 1  
        b = ("Loading" + "." * 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  ",love1)
sleep(2)
print("              LIVE YOUR LIFE WITH SMILES, NOT TEARS. ",love1)
sleep(2)
print("")
done = False
#here is the animation
def animate():
    for c in itertools.cycle(['|''/''-''\\']):
        if done:
            break
        sys.stdout.write('\rloading ' + c)
        sys.stdout.flush()
        time.sleep(0.1)
    sys.stdout.write(f'\rGodbless You{love1} \n\n\n  ')


t = threading.Thread(target=animate)
t.start()

#long process here
time.sleep(10)
done = True

#print (a)

----------------------------------------------------------
# new3

import sys
import time
from time import sleep
import itertools
import threading
import emoji

love=emoji.emojize("HAPPY BIRTHDAY :red_heart:")
love1 = emoji.emojize(" :red_heart:")

print("")
print("")
print("")
print("       😍                                                    *                            *   ")
sleep(0.30)
print(f'             *                 🎈           *                |               *        {love1}                              *                   ')
sleep(0.30)
print(f'                 🎈         *                 {love1}            |||          *                  *         🎈    * ')
sleep(0.30)
print('                                   *                       |||||                    *                                              * ')
sleep(0.30)
print(love                      ,'     *                     *             |||||||          *            ✨           🔥    * ')
sleep(0.30)
print('                 🎉         *                             $$$$$$$                 *   ')
sleep(0.30)
print('                                           *              |||||||                             🎈            ✨         * ',love1)
sleep(0.45)
print('                       *            *      🔥             $$$$$$$          *          ')
sleep(0.45)
print(love1,'                   *                               *   |||||||                       *    🎈   ')
sleep(1)
print(f'*       {love1}.                                               $$$$$$$               *     ')
sleep(0.30)
print('                                *  🎈                  *  $$$$$$$      *           🎈           *  ',love1)
sleep(0.30)
print('                                              *           |||||||                  *  ')
sleep(0.30)
print('               *     🎈                 |.🔥.🔥.🔥.🔥.🔥.🔥.🔥.🔥.🔥.🔥.🔥.🔥.🔥.🔥.|                                🎈')
sleep(0.30)
print('                        *               ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||        *')
print('                                        |||||||| WISH |||||||||||||||||||||||||||||||                 *  🔥 ')
sleep(0.45)
print('         *            👑                ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||      *                                     * ')
sleep(0.45)
print('                       *                ||||||||||||| YOU |||||||||||||||||||||||||||            🎈  *')
sleep(0.45)
print('                                        ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||       *                             *')
sleep(0.45)
print('                                        ||||||||||||||||| HAPPY |||||||||||||||||||||                         *')
sleep(0.45)
print('             *                          ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$||          *                     🎈      *')
sleep(1)
print('                                        ||||||||||||||||||||| BIRTHDAY ||||||||||||||       *',love1)
sleep(0.45)
print(love1,  '               *                     ||$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$||                         * ',love1)
sleep(0.45)
print('                                        ||||||||||||||||| [NAME] ||||||||||||||||||||        *')
sleep(1)
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  ",love1)
sleep(2)
print("              LIVE YOUR LIFE WITH SMILES, NOT TEARS. 🎇  🎉",love1)
sleep(2)
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 ')


= threading.Thread(target=animate)
t.start()

#long process here
time.sleep(10)
done = True

#print ("😍")



from turtle import *
import turtle
wnturtle.Screen()
wn.setup(width=400,height=400)
wnbgcolor("black")
wntitle("Birthday!")

color("black")

forward(50)

right(145)
color("black")
forward(200)
color("white")
left(145)#
forward(210)
color("black")
left(175)

forward(190)
color("white")
right(175)

forward(180)
color("black")
left(175)
forward(170)
color("white")
left(185)
forward(160)
color("black")



left(175)
forward(140)
color("white")
begin_fill()
right(85)
forward(70)
right(90)
forward(110)
right(90)
forward(70)
right(90)
forward(110)
right(90)
forward(70)
right(90)
end_fill()

forward(15)
left(90)
color("red")
forward(30)
turtle.write(".")
left(180)
forward(30)
turtle.write(".")
left(90)
color("white")
forward(15)
left(90)
color("yellow")
forward(30)
turtle.write(".")
left(180)
forward(30)
left(90)
color("white")
forward(15)
left(90)
color("green")
forward(30)
turtle.write(".")
left(180)
forward(30)
turtle.write(".")
left(90)
color("white")
forward(15)
left(90)
color("yellow")
forward(30)
turtle.write(".")
left(180)
forward(30)
turtle.write(".")
left(90)
color("white")
forward(15)
left(90)
color("red")
forward(30)
turtle.write(".")
left(180)
forward(30)
turtle.write(".")
left(90)
color("white")
forward(15)
left(90)
color("pink")
forward(30)
turtle.write(".")
left(180)
forward(30)
color("white")
left(90)
forward(20)
color("black")
forward(50)
color("orange")
turtle.write("🎈 🎈")
color("black")
right(90)
forward(50)
color("red")
turtle.write("🎈 🎈")
color("black")
forward(15)
color("white")

turtle.write("🎈")
color("black")
forward(110)
color("white")
turtle.write("🎂 🎁")
color("black")
right(90)
forward(265)
color("red")
turtle.write("🎈")
right(90)
color("black")
forward(240)
color("pink")
turtle.write("Happy Birthday Everyone!", font=("Calibri", 24, "bold"))

done()




Comments

Popular Posts