String Operations
Submit solution
Python
Points:
10 (partial)
Time limit:
10.0s
Memory limit:
12M
Authors:
Problem types
Allowed languages
Apply string operations on the given string.
Input:
A string, followed by two integers representing the start and end indices, each in a new line.
Output:
Outputs of the operations in different lines, in the respective order.
- The reverse of the string
- String converted to the lowercase
- String converted to the upper case
- The substring between the start and the end indices
Sample Input:
Hello, World!
3
8
Sample Output:
!dlroW ,olleH
hello, world!
HELLO, WORLD!
lo, W
Comments