What are strings and how to reverse a string?
The string is an immutable sequence data type. It is a sequence of Unicode characters wrapped inside a single, double or triple quote. The task is to write a program to reverse the given string.
- Input :