Nitpicking the nitpicking, we are dealing with (immutable, by essence) strings here, without
reverse
or reversed
methods. Since we need a new string to print the result anyway [::-1]
is as good as it gets.
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Your one-stop place for all your GIMP needs: gimp-forum.net