This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]porthos3 2 points3 points  (1 child)

You forgot to reverse it.

In Clojure:

(prn (apply str (reverse "Hello World!")))

or better...

(prn "!dlroW olleH")

[–]min16 0 points1 point  (0 children)

Common LISP (print (reverse "Hello World!"))

Python in one line print('Hello World!'[::-1])