Explore Westonci.ca, the leading Q&A site where experts provide accurate and helpful answers to all your questions. Discover in-depth answers to your questions from a wide network of experts on our user-friendly Q&A platform. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

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