Reverse String Leetcode Solution In Python Program A Control