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

Contenu du cours

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!

Tâche

Swipe to start coding

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 desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 7
toggle bottom row

book
Using Indices

Let's put it into practice!

Tâche

Swipe to start coding

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 desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 7
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
We're sorry to hear that something went wrong. What happened?
some-alt