Question: python coding Type of work Write a python program to find the number of occurrences of characters in the first string which are present in

 python coding Type of work Write a python program to find

python coding

Type of work Write a python program to find the number of occurrences of characters in the first string which are present in the second string and also remove all Characters in the first string which are present in the second string. For example, if the first string is "Welcome students" and the second string is "stu" the number of occurrence of characters in the first strin which are present in the second string is 5-2, 1-2, u-1 and the string after removing all Characters in the first string which are present in the second string is "Welcome den" INPUT: Enter string 1 Enter string 2 OUTPUT: Occurrence of characters in first string which are present in second string (one character in a line) String after removing all Characters in first string which are present in second string

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!