CODELAB
Learn
Problems
Contest
Interview
News
Learn
Problems
Contest
Interview
News
Description
← Back to Problems
. Reverse a string
Given a string in input. You should reverse it.
Input Format
Given a string s.
Output Format
Output a string
Sample Input
hasib
Sample Output
bisah
Constraints:
1<=s.length<=100
Python
Dark
14
Run Heavy
Run
Submit
Custom Input
Output
Run Heavy
Run
Submit
Custom Input
Output
Description
← Back to Problems
. Reverse a string
Given a string in input. You should reverse it.
Input Format
Given a string s.
Output Format
Output a string
Sample Input
hasib
Sample Output
bisah
Constraints:
1<=s.length<=100
Python
Dark
14
Run Heavy
Run
Submit
Custom Input
Output
Run Heavy
Run
Submit
Custom Input
Output
2025 © CodeLab(PSTU) | All Rights Reserved.
Developed by
Hasib-17❤️