# (Solved) : View Insert Cell Kernel Widgets Help Trusted Python 3 Run Oc Code 4 Removeletters Function Q42692217 . . .

Plz help idk how to do this question
View Insert Cell Kernel Widgets Help Trusted Python 3 * Run Oc Code 4) RemoveLetters Function Your task is to write two functions (removeLetters(..) and removeLetters(..)) that take in a string and a list of characters as input. This function must return a modified phrase that does not contain any of the characters present in the list provided. You are not allowed to use any built-in string operations other than append (via the + operator or +=). You are also permitted to make use of the index operation. The first variant (removeLetters(..)) is the non-recursive variant (no recursion permitted) and (rremoveLetters(..)) is the recursive variant (you MUST use recursion). Both must be completed to receive credit for this set of problems. Please write each function in a separate cell below. >>> removeLetters(“Hello World”, l’o’, ‘e’]) # or rremoveLetters (“Hello world”, [‘o’, ‘e’]) “All Wrld” >>> removeLetters(“Good god”, [‘G’, ‘0’]) # or rremoveLetters(“GO od god”, [‘G’, ‘O’]) “d gd” >>> removeLetters(“Happy Holidays!”. ‘H’, ‘1’, ‘1’]) # or r removeLetters(“Happy Holidays!”. (H) “ppay odays” >>> removeLetters(“Bugs”, [‘B’, ‘u’, ‘g’, ‘s’]) # or rremoveLette rs(“Bugs”, (‘B’, U’, ‘g’, ‘s’) 5 COMP 1405 – Tutorial 9… student@COMP1405: – 14:26 student OODS Left * B Show transcribed image text View Insert Cell Kernel Widgets Help Trusted Python 3 * Run Oc Code 4) RemoveLetters Function Your task is to write two functions (removeLetters(..) and removeLetters(..)) that take in a string and a list of characters as input. This function must return a modified phrase that does not contain any of the characters present in the list provided. You are not allowed to use any built-in string operations other than append (via the + operator or +=). You are also permitted to make use of the index operation. The first variant (removeLetters(..)) is the non-recursive variant (no recursion permitted) and (rremoveLetters(..)) is the recursive variant (you MUST use recursion). Both must be completed to receive credit for this set of problems. Please write each function in a separate cell below. >>> removeLetters(“Hello World”, l’o’, ‘e’]) # or rremoveLetters (“Hello world”, [‘o’, ‘e’]) “All Wrld” >>> removeLetters(“Good god”, [‘G’, ‘0’]) # or rremoveLetters(“GO od god”, [‘G’, ‘O’]) “d gd” >>> removeLetters(“Happy Holidays!”. ‘H’, ‘1’, ‘1’]) # or r removeLetters(“Happy Holidays!”. (H) “ppay odays” >>> removeLetters(“Bugs”, [‘B’, ‘u’, ‘g’, ‘s’]) # or rremoveLette rs(“Bugs”, (‘B’, U’, ‘g’, ‘s’) 5 COMP 1405 – Tutorial 9… student@COMP1405: – 14:26 student OODS Left * B

Answer to View Insert Cell Kernel Widgets Help Trusted Python 3 * Run Oc Code 4) RemoveLetters Function Your task is to write two …

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.