Reverse a String

Easy

📝 Description

Given a string, return the string reversed.

Input Format

A single string s

Output Format

The reversed string

Constraints

1 ≤ s.length ≤ 100

🔍 Sample Input

hello
            

✅ Sample Output

olleh
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run