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
Get step-by-step solutions from verified subject matter experts
