Welcome to Westonci.ca, the place where your questions find answers from a community of knowledgeable experts. Explore thousands of questions and answers from a knowledgeable community of experts ready to help you find solutions. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

What type of error occurs in this program?

listA = [10, 3, 11, 4, 1]
num1 = listA[2]
num2 = listA[8]
sum = num1 + num2
print(sum)

A. Logic Error
B. Runtime Error
C. List Error
D. Syntax Error