-1
\$\begingroup\$

Just take an input in any way and then print it backward (trailing newlines allowed). For example:

Hello World -> dlroW olleH
Hi -> iH

Yes, it is case sensitive. Shortest code wins

\$\endgroup\$
2
  • 2
    \$\begingroup\$ Please do take some time to check for extremely similar challenges. FWIW Jelly 1 byte: \$\endgroup\$ Jun 5, 2017 at 21:19
  • \$\begingroup\$ As well as being a duplicate, this is underspecified. What may the input contain? What should happen if we get Newlines? \$\endgroup\$
    – DJMcMayhem
    Jun 5, 2017 at 21:41

1 Answer 1

0
\$\begingroup\$

Mathematica, 13 bytes

StringReverse
\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.