<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
This is the simplest code for reversing a string text.
Though it is very simple, i don’t understand the logic behind it, could someone help explain it please?
The main line of code that needs explanation is: result = i + result
Thanx in advance…
<What do you expect to happen instead?>```python
result = “”
for i in text:
result = i + result
<do not remove the three backticks above>