标签: python python-3.x string swap
我想编写一个输入字符串并交换字符串中每对相邻字符的程序。例如,如果输入为“ France”,则输出应为“ rFnaec”。 预先感谢。