Question: Function name: sent_compare Parameters: sentence 1, sentence 2 Return: An integer: the number of common unique characters in two sentences Description: You receive two sentences

Function name: sent_compare Parameters: sentence 1, sentence 2 Return: An integer: the number of common unique characters in two sentences Description: You receive two sentences as inputs from the keyboard and compare them. Your function should be able to output the number of common unique characters in two sentences. For example, sentence 1: "I love Purdue", sentence 2: "Very Proud", then the output is: 6. It should be case insensitive.

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 Programming Questions!