Skip to content
CampusEduX

Reverse a String

Easyjavapythonccppjavascript

Given a string, print the same string with its characters in reverse order.

Input Format

A single line containing the string S. It has no leading or trailing spaces.

Output Format

Print the reversed string.

Related Problems

  • Check Palindrome
    Easy · java, python, c, cpp, javascript
    Solve Problem
  • Count Vowels and Consonants
    Easy · java, python, c, cpp, javascript
    Solve Problem
  • Character Frequency
    Easy · java, python, c, cpp, javascript
    Solve Problem

Input (stdin)

Output

Run your code to see output here...