+ 20
wait ... hv u seen other codes , those are more smaller and good @saksham
//those deserve best answer !me โบ
edit : yeah , now best answer is marked as best
+ 11
One-liner (Python)
print(str(input())[::-1])
Or you could do this (still, technically a one-liner).
https://code.sololearn.com/co5PcRgC8qGi/?ref=app
+ 9
https://code.sololearn.com/ch59q6FX0md8/?ref=app
+ 8
https://code.sololearn.com/cLvB4hATHWFj/?ref=app
+ 8
My name is in one of the test cases :).
https://code.sololearn.com/cGew2Rl2iVE0/?ref=app
+ 5
https://code.sololearn.com/cWRhoS3xa3dk/?ref=app
Using recursion to reverse a String
+ 5
https://code.sololearn.com/cVhXBCx15883/#rb
oneliner, I really start to love ruby :)
edit: now even shorter
https://code.sololearn.com/cec9hVMUbpYN/#
+ 4
Java Version : https://code.sololearn.com/cY6z784956a2/#java
C++ version : https://code.sololearn.com/ceKEoGG16803/#cpp
i love to do easy challenge hahaa
+ 3
JavaScript :
alert(prompt().split('').reverse().join(''));
+ 3
Easiest way
https://code.sololearn.com/cS0vyBwAHvE8/?ref=app
+ 3
The two ways in python to reverse a string...
https://code.sololearn.com/c721MWBRp8D3/?ref=app
https://code.sololearn.com/cLBJsivxZV94/?ref=app
+ 2
Java oneliner:
https://code.sololearn.com/c3nXhgrT6XRg/?ref=app
+ 2
https://code.sololearn.com/cV4s4fV7v4Ak/#java
here's my contribution to the challenge.
i chose to implement my own reverse(), and not use the preexisting one from the base libraries...
+ 2
Here is mine:
https://code.sololearn.com/ckdMtsHXWpsW/?ref=app
+ 1
Basically the same as what other Python users have done: https://code.sololearn.com/crZGjpC51yDJ/?ref=app