I want to swap each pair of characters in a string. \'2143\' becomes \'1234\', \'badcfe\' becomes \'abcdef\'.
\'2143\'
\'1234\'
\'badcfe\'
\'abcdef\'
How
#Think about how index works with string in Python, >>> a = "123456" >>> a[::-1] '654321'