You need to import this package with import SimpleTkMessageBox. This packages just add a function : ShowMSBox(master, Icon="Information", Title="Message Box ...
GitHub - JoelSamson/Python-Tkinter-message-Box: Designed a user interface to enter the name and marks in five subjects for a student. Wrote a function to calculate the sum and average of these marks.