7.reverse >>>what's the wrong?!



you should return the result, not print it


It works. :smile:


now the function returns something, so now you can call print on the function call to show the output:

print reverse("Python!")


i see that the formula works, but i can't quite get the math behind it. for me, it's fuzzy at best


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.