how to make a alert box in python

import pyautogui
print(pyautogui.alert("Hi grepper user"))

Here is what the above code is Doing:
1. It’s importing the pyautogui module.
2. It’s calling the alert() function from the pyautogui module.
3. It’s passing the string “Hi grepper user” to the alert() function.
4. It’s printing the return value of the alert() function.