Write a program or function that takes a character as input and outputs a character. Also, choose a list of 13 distinct ASCII printable characters (32-126). When a character from this list is passed into the program or function, it should output the character at the corresponding position in
Hello, world!. This way, running your code on each element of the list in turn would produce
If your chosen list is
Troublemaking, you should produce a program or function that maps:
T -> H r -> e o -> l u -> l b -> o l -> , e -> m -> w a -> o k -> r i -> l n -> d g -> !
- Your score is length of the program/function.
- You can't store any data between program/function runs.
- Include list of the characters you chose into the answer.