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])
Nesta página do site você pode assistir ao vídeo on-line Range Function In Python | Python Range Function With Example | Python Training duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Venus Tutorials 24 Junho 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto No vezes e gostou 0 espectadores. Boa visualização!