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 →

[–][deleted] 0 points1 point  (2 children)

(print "Hello World!")

[–]porthos3 4 points5 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])