Question: 4. ( 20 points) Implement a recursive function: recRevert() to reverse a string. This function takes a string as input and returns its reverted version
4. ( 20 points) Implement a recursive function: recRevert() to reverse a string. This function takes a string as input and returns its reverted version as string. For example, recRevert("desserts") returns the string: "stressed". You must implement your own function as a recursive function to get credit. You cannot use built-in functions that comes within Python to reverse the string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
