List slicing | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

List slicing

Please explain me slicing list. x=['a','b','c','d','e','f','g','h'] x[6:2:-1] how the start and stop are considered? I mean in which direction start and stop are done?

15th Feb 2019, 3:27 PM
Uthpala
1 Réponse
15th Feb 2019, 3:42 PM
portpass