Using the tkinter library, create a GUI program that will let the user test for palindromes. Your GUI should have at minimum the following items:
Entry (with an accompanying StringVar) for sentence inputLabel with instructionsButton that informs the user whether the input sentence is a palindrome or not. If the user inputs an empty string, the program should let them know.Extend the GUI from Problem 1 to have a second Entry and Button. When a second sentence is input, and the second button clicked, the frequency of words that occur in both sentences should be output to the command line. Using a Python dictionary will be very helpful! If either, or both, sentence(s) are empty, inform the user.