Programming Language Python List MCQ Question #3763
Single Choice Not Set

QWhat will be the output after the following statements?
a = [1,3,5,7,9,11,13,15,17,19]
print(a[1:5],a[3:17])

ID: #3763 Python List MCQ 272 views
Question Info
#3763Q ID
Not SetDifficulty
Python List MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A [3, 5, 7, 9]
  • B [1, 3, 5] [3, 5, 7, 9, 11, 13, 15, 17]
  • C [3, 5, 7, 9] [7, 9, 11, 13, 15, 17, 19]
  • D [3, 5, 7, 9, 11, 13, 15, 17, 19]
Correct Answer

Explanation

[3, 5, 7, 9] [7, 9, 11, 13, 15, 17, 19]

Share This Question

Challenge a friend or share with your study group.