I’m having trouble with the last exercise and I cannot find where I went wrong…
Im getting list index out of range for this function but all other test cases for previous functions passed… any help would be appreciated
I’m having trouble with the last exercise and I cannot find where I went wrong…
You loop is trying to access a index value that not exist in your list.
Basically, is iterating over the list length