xxxxxxxxxx
number = 100
if number > 50;
print("Number is greater than 50!")
xxxxxxxxxx
import logging as log
# Output: ERROR:root:Error message
log.error("Error message")
xxxxxxxxxx
from tkinter import messagebox
def error():
messagebox.showinfo('Eror', 'Erorr Mesage ')
error()