

from tkinter import messagebox
import pyttsx3
engine = pyttsx3.init()
def offf():
engine.say("off")
engine.runAndWait()
os.system("shutdown /s /t 1")
result=messagebox.askquestion("off","آيا ميخواهيد کامپيوتر خاموش شود ؟؟؟؟")
if result=="yes":
offf()
elif result=="no":
exit

ما یک کد تأیید 6 رقمی به ایمیل شما ارسال کردهایم. لطفاً برای ادامه آن را در زیر وارد کنید.