• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 4
def spell(txt): if txt: print(txt[-1]) return spell(txt[:-1]) txt = input() spell(txt)
5th Jan 2022, 3:56 PM
Simba
Simba - avatar
+ 2
I hope that this code can help you https://code.sololearn.com/cv9yxzNmZI8G/?ref=app
5th Jan 2022, 3:20 PM
PhĂșc
+ 1
Ashenafi Debella https://www.sololearn.com/Discuss/1470297/how-to-reverse-a-string-in-JUMP_LINK__&&__python__&&__JUMP_LINK https://www.sanfoundry.com/python-program-reverse-string-using-recursion/ https://www.geeksforgeeks.org/reverse-a-string-using-recursion/amp/ https://www.geeksforgeeks.org/reverse-string-python-5-different-ways/amp/ https://stackoverflow.com/questions/5532902/python-reversing-a-string-using-recursion
5th Jan 2022, 3:43 PM
NEZ
NEZ - avatar
0
Let's say d = "toffee" print(d[::-1])
5th Jan 2022, 4:41 PM
Amol
Amol - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
generic programming understanding memory ownership
0 Votes
overloading operators << >>
1 Votes
How to start in web dev?
0 Votes
Default constructor and default assignment operator
0 Votes
Wishkit alternative for android
1 Votes
Hi
0 Votes
Issue in code
0 Votes
My question is about python?
0 Votes
i need to learn Coding
0 Votes
.
0 Votes