Happy New Year 2023 status using python

A Very Happy New Year to all my friends. Today let us see the tutorial to wish happy new year using the python program. Happy New Year 2023 status using python

Video  Tutorial: Happy New Year 2023 status using python

Source Code: Happy New Year 2023 status using python

#Wish Happy New Year 2023
import pyfiglet 
import time 
from termcolor import colored,cprint 
wish =['Happy','New','Year','2023']
count=0
colors=['green','yellow','magenta','cyan']
for i in range(1,1000):
    if(count>3):
        count=0
        cprint('*'*60,'red')
    else:
        color=colors[count]
        msg = pyfiglet.figlet_format(wish[count],
        font='starwars',
        width = 150)
        cprint(msg,color)
        count = count + 1
        time.sleep(0.7)

Output: 

Leave a Reply

Your email address will not be published. Required fields are marked *