HCLTech Interview Question

Reverse a string without using Python slicing.