When I saw this title in the Hot Network Questions I thought it was going to be a PPCG challenge. I was a little disappointed when it was on Mathematica.
So now it is on PPCG:
Challenge
Given an input string, output the ROT13, flipped value. The input will contain characters from the following alphabet: [abcdefghijklmnopqrstuvwxyz <flipped alphabet>]
1
The flipped alphabet can be anything visually similar to the flipped lowercase Latin alphabet so long as it can be accepted as input.
The space character should remain unchanged.
As an example, your flipped alphabet might be zʎxʍʌnʇsɹbdouɯlʞɾᴉɥƃɟǝpɔqɐ
Example
Input: caesar woz ere Rot13: pnrfne jbm rer Output: ɹǝɹ ɯqɾ ǝuɟɹud Input: ɹǝɹ ɯqɾ ǝuɟɹud Rot13: pnrfne jbm rer Output: caesar woz ere
Scoring
Simple code-golf, the lowest number of bytes wins.
I think this is different enough to the proposed duplicate for a few reasons:
- The answerer has the choice of which characters to use as output (within limits)
- The process should be reversible. i.e. flipped text should be acceptable as input and return "normal" text.
- There is the opportunity for graphical solutions in this question.
d
is a flippedp
and should therefore rot13 toɔ
before flipping toc
, rather than rot13 toq
and flipping tob
. \$\endgroup\$