0

Isn't a list zero-indexed?

Why is this in a quiz return 8? list = [1, 1, 2, 3, 5, 8, 13] print(list[list[4]]) I think it should be 5.

12th Oct 2018, 2:16 AM
Jean-François S.
Jean-François S. - avatar
3 ответов
+ 2
hye Jamie nice to meet you
13th Oct 2018, 10:58 AM
IZZERAN_SHAH
IZZERAN_SHAH - avatar
+ 1
oh i see. makes sense. thanks Jamie.
12th Oct 2018, 2:28 AM
Jean-François S.
Jean-François S. - avatar