in the era of digital content, when the information spreads at a high speed, it becomes more and more important to determine the uniqueness of the texts. Plagiarism, copying and re-use of other people's ideas without permission can lead to serious consequences.
rn
develop a program that will analyze Two texts and calculate their degree of similarity based on the number of common words. The program should ignore the register of symbols and punctuation marks. The degree of similarity is calculated as a percentage of common words from the total number of unique words in both texts.
Input format
Two lines are presented at the input of the program, which are texts for comparison. Each text is introduced from the new line
Output format
The program should deduce one number & ndash; The degree of similarity of texts, expressed as a percentage rounded to two signs after aim
Example
Input
This is the first text for verification. It contains a few words.
The second text for analysis. It also contains words.
Hint
There will be no clue here, decide for yourself!