Question: Python 3.6 Write a recursive function that displays a string reversely on the console using the following header: def reverseDisplay(value): For example, reverseDisplay(abcd'') displays dcba.
Python 3.6

Write a recursive function that displays a string reversely on the console using the following header: def reverseDisplay(value): For example, reverseDisplay("abcd'') displays dcba. Write a test program that prompts the user to enter a string and displays its reversal. Rewrite the above problem using a helper function to pass the substring for the high index to the function. The helper function header is: def reverseDisplayHelper(s, high)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
