Reverse Method Python String Functions Geeksforgeeks Machine