Question: String Evaluation Application Using Python Create the String Evaluation Application. The application asks a user to type in two strings and prints: the characters that

String Evaluation Application

Using 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: C

The characters in string 1 that are not in string 2: S U

The letters that are not in either string: B D E G H J K M P Q T V W X Y Z

__________________________________________________________________________

Enter the first string: CALIFORNIA

Enter the second string: CSU

The characters that are in both strings: C

The characters in string 1 that are not in string 2: A F I L N O R

The letters that are not in either string: B D E G H J K M P Q T V W X Y Z

__________________________________________________________________

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: A B E R Z

The letters that are not in either string: C D F G H J K M P Q S T U V W X Y

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!