Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Using Indices | Basic Concepts
String Manipulation in Python

Using IndicesUsing Indices

Let's put it into practice!

Task

Given string description. You need to extract:

  1. The very last symbol of the string.
  2. The 18th - 20th (positions, not indices, including both left and right boundaries) symbols.

Everything was clear?

Section 1. Chapter 7
toggle bottom row
course content

Course Content

String Manipulation in Python

Using IndicesUsing Indices

Let's put it into practice!

Task

Given string description. You need to extract:

  1. The very last symbol of the string.
  2. The 18th - 20th (positions, not indices, including both left and right boundaries) symbols.

Everything was clear?

Section 1. Chapter 7
toggle bottom row
some-alt