Question: Using coding Python 3 to solve this problem. Don't use function. 3. Specification - Ask the user for a single message, build an encoded string
Using coding Python 3 to solve this problem. Don't use function.
3. Specification - Ask the user for a single message, build an "encoded" string where every character per pair of characters is swapped. Then for every triple swap the first and last. The result is your encoded message...print out the pair/triple swap to verify it i:s working. Example: 1ORIGINAL:ABCDEFGHIJKLMNOPQRSTUVWX 2Orig->Pair Swapped: BADCFEHG JILKNMPORQTSVUXW Orig->Triple Swapped: CBAFEDIHGLKJONMRQPUTSXWV Orig->Pair->Triple DABEFCJGHKLIPMNQROVSTWXU
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
