Question: Write a recursive function called filter _ string that takes a string as a parameter. Return a string that filters out characters that are uppercase.
Write a recursive function called filterstring that takes a string as a parameter. Return a string that filters out characters that are uppercase.
Hint
Expected Output
If you test your function with the following code:
# test code below if namemain: exampleword 'HoUsE' printfilterstringexampleword
It should produce the output:
os
What doesif namemain:mean?
If you test your function with the following code:
# test code below if namemain: exampleword 'muSic' printfilterstringexampleword
It should produce the output:
muic
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
