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


#1


#2

you should return the result, not print it


#3

Thanks
It works. :smile:


#4

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

print reverse("Python!")

#5

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


#6

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