Reverse Method Python String Format S