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

bookUsing 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

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

Suggested prompts:

Résumer ce chapitre

Expliquer le code dans file

Expliquer pourquoi file ne résout pas la tâche

close

Awesome!

Completion rate improved to 4.35

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 !

close

Awesome!

Completion rate improved to 4.35
Section 1. Chapitre 7
single

single

some-alt