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
close
Section 1. Chapitre 7
single

single

bookUsing Indices

Glissez pour afficher le menu

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
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

some-alt