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
course content

Course Content

String Manipulation in Python

String Manipulation in Python

1. Basic Concepts
2. String Methods
3. Strings Formatting

Using 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.

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.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 1. Chapter 7
toggle bottom row

Using 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.

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.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 1. Chapter 7
toggle bottom row

Using 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.

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.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

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.

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 7
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt