News
Next, we use a slice operator that selects the entire string, but in reverse order. Finally, we print the reverse_text variable, which results in ‘olleh’. Using the For Loop to Reverse a String.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results