Innovaccer interview question

Reverse string with stack in python Django lifecycle