Scientific Programming II

Programming in Python

Assignment 1


Problem 1

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:

Problem 2

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.