Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions