Computer Science, asked by nikhithanikki91, 10 months ago

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 premak1504
5

Answer:

sorry i don't understand ur language

Explanation:

hope u will change own language

Answered by jyotisaxenaa8899
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