import pyfiglet, pyttsx3, random, time
from rich.console import Console
from rich.text import Text
console = Console()
halloween_fonts = ["slant", "big", "ghost", "doom", "standard"]
font = random.choice(halloween_fonts)
art = pyfiglet.figlet_format("Happy Halloween!", font=font)
console.print(art, style="bold orange_red1")
pumpkin = """
๐๐๐๐๐
๐ ๐
๐ ๐ ๐ ๐
๐ ๐ ๐
๐ ๐๐ ๐
๐๐๐๐๐
"""
console.print(Text(pumpkin, style="bold orange1"))
engine = pyttsx3.init()
engine.say("Happy Halloween! Beware of the bugs in your code!")
engine.runAndWait()
#source code --> clcoding.com
__ __ / / / /___ _____ ____ __ __ / /_/ / __ `/ __ \/ __ \/ / / / / __ / /_/ / /_/ / /_/ / /_/ / /_/ /_/\__,_/ .___/ .___/\__, / /_/ /_/ /____/ __ __ ____ __ / / / /___ _/ / /___ _ _____ ___ ____ / / / /_/ / __ `/ / / __ \ | /| / / _ \/ _ \/ __ \/ / / __ / /_/ / / / /_/ / |/ |/ / __/ __/ / / /_/ /_/ /_/\__,_/_/_/\____/|__/|__/\___/\___/_/ /_(_)
๐๐๐๐๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐๐ ๐ ๐๐๐๐๐


0 Comments:
Post a Comment