Slicing - You can return a range of characters by using the slice syntax.
Specify the start index and the end index, separated by a colon, to return a part of the string.
Slice From the Start
By leaving out the start index, the range will start at the first character.
Slice To the End
By leaving out the end index, the range will go to the end.
Negative Indexing
Use negative indexes to start the slice from the end of the string.
Sur cette page du site, vous pouvez voir la vidéo en ligne Slicing Strings in Python - Python Tutorial - w3Schools - Ch#10 English durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur w3Schools Tutorials 18 juillet 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 449 fois et il a aimé 2 téléspectateurs. Bon visionnage!