JPMorganChase Interview Question

Python String manipulation and reversal