Range Function In Python | Python Range Function With Example | Python Training

Published: 24 June 2022
on channel: Venus Tutorials
No
0

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])


On this page of the site you can watch the video online Range Function In Python | Python Range Function With Example | Python Training with a duration of hours minute second in good quality, which was uploaded by the user Venus Tutorials 24 June 2022, share the link with friends and acquaintances, this video has already been watched No times on youtube and it was liked by 0 viewers. Enjoy your viewing!