What does the problem mean when it says “If index is not a valid index”? What is too big? More details would be helpful.
# this list has a length of 3 # the indexes start at 0 and go up to 2 lst_of_odd_numbers = [3, 5, 7] # if you were to try this line you would get an error as the last index is 2 print(lst_of_odd_numbers)
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.