String Operations


Submit solution

Points: 10 (partial)
Time limit: 10.0s
Memory limit: 12M

Authors:
Problem types
Allowed languages
Python

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.

  1. The reverse of the string
  2. String converted to the lowercase
  3. String converted to the upper case
  4. 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

There are no comments at the moment.