Answer the question
In order to leave comments, you need to log in
How to mirror a string?
It is necessary that when you enter (for example - an apple, it is displayed okolbya), the program changes the line in a mirror way. I sit, I'm dumb, I can't remember. Help me please.
Answer the question
In order to leave comments, you need to log in
True, I am a pythonist, I don’t know about the reverse method in Java, but I know that String can split, and arrays can be cycled in reverse order :)
In general, yes, there is a more elegant way, and it is the first line in Google.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question