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

book
Using Indices

Let's put it into practice!

Task
test

Swipe to show code editor

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.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 7
toggle bottom row

book
Using Indices

Let's put it into practice!

Task
test

Swipe to show code editor

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.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 7
Switch to desktopSwitch 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