Westonci.ca offers quick and accurate answers to your questions. Join our community and get the insights you need today. Explore in-depth answers to your questions from a knowledgeable community of experts across different fields. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

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