PythiloMedium · 25 min · Task 63 of 100 · progress kept in this browser

Reach the final index

Each nonnegative value gives the maximum jump length from its index. Return whether the last index is reachable from index zero. Empty input returns False.

index, jump, farthest = 1, 3, 2
print(max(farthest, index+jump))
Your task

Each nonnegative value gives the maximum jump length from its index. Return whether the last index is reachable from index zero. Empty input returns False.