MCQ Single Best Answer Not Set

QWhat will be the output after the following statements?
x = [5, 3, 6, 2, 4, 0, 7]
del x[0:4]
print(x)

ID: #3463 Python List MCQ 224 views
Question Info
#3463Q ID
Not SetDifficulty
Python List MCQTopic

Choose the Best Option

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

  • A []
  • B [5, 3, 6, 2, 7]
  • C [5, 3, 6, 2, 4, 0]
  • D [4, 0, 7]
Correct Answer: Option D

Explanation

[4, 0, 7]

Share This Question

Challenge a friend or share with your study group.