Back Clear
# Your Problem: # Given a string, compute recursively a new string where all the 'x' chars # have been removed. # # # noX("xaxb") → "ab" # noX("abc") → "abc" # noX("xx") → "" # # Credit for this problem goes to Nick Parlante from CodingBat.com # Do not modify anything outside of the function or the function itself. # CODE START def getNoX(str:str) -> str: # CODE END # Press Ctrl+E (Command+E on mac) to test your code