Reverse The String Using Stack In Python