MCQ Single Best Answer Not Set

QWhat will be the output after the following statements?
x = [int(i**3/3) for i in range(0,5,2)]
print(x)

ID: #3890 Python Functions MCQ 326 views
Question Info
#3890Q ID
Not SetDifficulty
Python Functions MCQTopic

Choose the Best Option

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

  • A [0, 2, 36]
  • B [0, 2, 21]
  • C [0, 6, 2]
  • D [0, 2, 14]
Correct Answer: Option B

Explanation

[0, 2, 21]

Share This Question

Challenge a friend or share with your study group.