Here is a simplemade with. This program will run only in. To run this program in Python 2, you will need to modify it accordingly.Code:Output:To know more about TkInter, please visit tkinter documentation page here.