Доступ к диапазону () с значением индекса
# welcome to softhunt.net
element = range(5)[0]
print("First element:", element)
element = range(5)[-1]
print("Last element:", element)
element = range(5)[3]
print("Fourth element:", element)
Outrageous Ostrich