2/14 Access by Index


#1

Hey there.

I resolved it:
print numbers[1] + numbers[3]

But I'm looking for another way to do it; maybe seasoned programmers have a 'more optimal' solution. Any other ideas?


#2

it is efficient accessing by index is constant time O(1) that is one advantage of using list