Here is the code-
|
|
And, here is what the output looks like-
As you can see, this is a very simple program, see the code, find out how it works and you can modify it yourself too!! Share any of your comment/feedbacks in the comments section below.
PS. Please note that to run the program you will need to have wxPython installed.