 |  |

 |
 |  |  |
 | Welcome to CS1315. Click on the python to add comments.
|  |
 |  |  |
|
This page removed for FERPA compliance
|
        |
Final Exam Review Spring 2006: Recursion
Questions? Post them here.
i've tried messing around with this one for a little while. a hint would be awesome for parts b and c.
def upDown(word):
if len(word) == 1:
print word
return
print word
upDown(word[ : len(word)-1]
print word
This worked for me.
REMOVEDw does it reverse on itself? I understand how you get from "Hello" to "o" but I have no idea how the function knows to get from "o" back to "Hello"
Link to this Page