Range of Indexes
You can specify a range of indexes by specifying where to start and where to end the range.
When specifying a range, the return value will be a new tuple with the specified items.
Example
Return the third, fourth, and fifth item:
thistuple = ("apple", "banana", "cherry", "orange", "kiwi", "melon", "mango")
print(thistuple[2:5])
En esta página del sitio puede ver el video en línea Range Function In Python | Python Range Function With Example | Python Training de Duración hora minuto segunda en buena calidad , que subió el usuario Venus Tutorials 24 junio 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto No veces y le gustó 0 a los espectadores. Disfruta viendo!