Have the function SwapII (str) take the str parameter and swap the case of each character. Then, if a letter is
between two numbers (without separation), switch the
places of the two numbers. For example: if str is "Hello4
-8 World, 7 yes3" the output should be 4hELLO6 -8WORLD, 7
YES3

Solved
Show answers

Ask an AI advisor a question