Have the function Swapll(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 8World, 7 yes3" the output should be 4HELLO6
-8WORLD, 7 YES3
Sample Input
Sample Output
Hello -SLOL6
HELLO -61015
Sample Output
Sample Input
25 6 DUADSE
25 6 du5d4e
Answers
Answered by
5
Answer:
sorry i don't understand ur language
Explanation:
hope u will change own language
Answered by
0
Answer:
Have the function Swapll(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 8World, 7 yes3" the output should be 4HELLO6
-8WORLD, 7 YES3
Sample Input
Sample Output
Hello -SLOL6
HELLO -61015
Sample Output
Sample Input
25 6 DUADSE
25 6 du5d4e
Similar questions