Question
In PYTHON Create the String Evaluation Application. The application asks a user to type in two strings and prints: the characters that occur in both
In PYTHON
Create the String Evaluation Application. The application asks a user to type in two strings and prints:
the characters that occur in both strings.
the characters that occur in one string but not the other.
the letters that dont occur in either string.
Provide a supplemental module named SuppModule.py for the evaluations and import it into the driver module named DriverModule.py. The driver module should be responsible only for the print outs.
The program output should be formatted as shown in the Sample Run.
Note: You must split up your solution into two modules.
SAMPLE RUN Enter the first string: CSU Enter the second string: CALIFORNIA The characters that are in both strings: The characters in string 1 that are not in string 2: S U The letters that are not in either string BDEGHJKMPQTVWXYZ Enter the first string: CALIFORNIA Enter the second string: CSU The characters that are in both strings: The characters in string 1 that are not in string 2 AFILNOR The letters that are not in either string BDEGHJKMPQTVWXYZ Enter the first string: ZEBRA Enter the second string: LION The characters that are in both strings: The characters in string 1 that are not in string 2: ABER2Z The letters that are not in either string CDFGHJKMPQSTUVWXYStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started