def new_year_greeting():
message = """
// Happy New Year 2024!
#include <iostream>
int main() {
std::cout << "May your bugs be few and your commits be many!" << std::endl;
std::cout << "Wishing you a year full of clean code and successful deploys." << std::endl;
std::cout << "Happy Coding in 2024!" << std::endl;
return 0;
}
"""
print(message)
new_year_greeting()
import pyttsx3
from tts import text_to_speech
#محتوای text_to_speech
# به این صورت که :
#def text_to_speech(text):
# engine=pyttsx3.init()
# # speed with rate
# engine.setProperty('rate',150)
# # volume
# engine.setProperty('volume',0.8)
# engine.say(text)
# engine.runAndWait()
print(f"Happy new year \n Let's have good time