Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 stringStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started