Anyone plz give me idea to reverse string in python using spell() function. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Anyone plz give me idea to reverse string in python using spell() function.

21st Jan 2023, 9:52 AM
Raju Khadka
Raju Khadka - avatar
1 Answer
+ 5
**Error — string object has no attribute spell** If you want yo reverse a string, you can do something like: n = "hello" print(n[::-1])
21st Jan 2023, 10:27 AM
Lamron
Lamron - avatar