Explore Westonci.ca, the leading Q&A site where experts provide accurate and helpful answers to all your questions. Join our Q&A platform to connect with experts dedicated to providing precise answers to your questions in different areas. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently.

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