in

Codecademy has a couple workarounds.

Codecademy has a couple workarounds. | code-memes, string-memes, function-memes | ProgrammerHumor.io
code-memes, string-memes, function-memes | ProgrammerHumor.io

Content

1 def reverse (text): return text:: -2 11 Instructions Define a function called reverse that takes a string text and returns that string in reverse. For example: reverse("abed) should return "dcba" 01. You may not use reversed or -11 to help you with this. 02. You may get a string containing special characters (for example, I, , or ). Stuck? Get a hint! Way to go! Start Next Lesson QA Forum Glossary