[Solved] Write a function swap_halves(s) that takes a string s, and returns a new string in which the two halves of the string have been swapped
[ad_1] Write a function swap_halves(s) that takes a string s, and returns a new string in which the two halves of the string have been swapped [ad_2] solved Write a function swap_halves(s) that takes a string s, and returns a new string in which the two halves of the string have been swapped