Correct me if I'm wrong but I think the description does not describe at all the actual task. With Hello World! :
First, you need to reverse the string.
-> '!dlroW olleH'
Then, the last character in the original string (the first character in the reversed string) needs to be moved to the back.
Last character in the original is ! (if we consider punctuation marks as, the description states; otherwise it would be d )
so -> 'dlroW olleH!' or '!lroW olleHd'
Words will be separated by spaces, and punctuation marks can be counted as part of the word.
Why do you refer to words ? Why and how should we consider words? It's not question about words in the previous instructions.
If punctuation mark has to be counted as part of the world, why isn't it reversed just like the word itself?
How can we get lleHo dlroW! following those instructions ?
I don't know which kind of substances you're on, but this code is very much readable.
Действительно получил удовольствие от кодирования. Благодарю
Very easy to read actually
that's not readable code
With a solution like that, they're allowed!
ooh, this is very clever! Good work.
strings with a " " threw me off.
Nice challenge
PHP 8.0 support
nice comment xD
it was my first idea and solution for this task :D
but he did not let me push it by the lack of word 'while' in my code..
Description should be language-agnostic
Python update (new testing framework)
"Ok, lesson is over. Let us do a task with while."
Not clear?
Java translation(author inactive)
lol showing off
Correct me if I'm wrong but I think the description does not describe at all the actual task. With Hello World! :
-> '!dlroW olleH'
Last character in the original is ! (if we consider punctuation marks as, the description states; otherwise it would be d )
so -> 'dlroW olleH!' or '!lroW olleHd'
Why do you refer to words ? Why and how should we consider words? It's not question about words in the previous instructions.
If punctuation mark has to be counted as part of the world, why isn't it reversed just like the word itself?
How can we get lleHo dlroW! following those instructions ?
Loading more items...