Question at position 17 Which of the following lines of code will run, but then give a runtime error?a = [1, 2, 4]print(a[2])a = [1, 2, 4]print(a[4])a = [1, 2, 4]print(a[1])a = [1, 2, 4]print(a[0]) Clear my selection单项选择题

A

a = [1, 2, 4] print(a[2])

B

a = [1, 2, 4] print(a[4])

C

a = [1, 2, 4] print(a[1])

D

a = [1, 2, 4] print(a[0])

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!