Computer Science, asked by haritha13400, 7 months ago

Write a function that swaps the first pair (1st and 2nd characters) with the second pair (3rd and 4th characters) for every quadruplet substring. Example: swapTwo ("ABCDEFGH") ➞ "CDABGHEF"

Answers

Answered by kriti8870
7

Answer:

Try using char bro and if at all u use terminal or Python I will send u a code Just use the print sequence from your own logic in netbeans using string or char

Similar questions