Open
Description
Line 18 in ba3e6e6
It is directly checked as if lst[1].
This will give error if index does not exist in lst.
Instead, we need to check if len(lst) >= 2 i.e. whether 1st element exists or not.
Metadata
Metadata
Assignees
Labels
No labels