Single Choice Not Set

QWhich of the following can be a possible output after the following statements?
 from random import *
print(sample(range(0,10), 3))

ID: #3561 Python Module MCQ 249 views
Question Info
#3561Q ID
Not SetDifficulty
Python Module MCQTopic

Choose the Best Option

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

  • A [4, 11, 30]
  • B [3, 15, 10]
  • C [1, 5, 7, 4]
  • D [1, 5, 0]
Correct Answer

Explanation

[1, 5, 0]

Share This Question

Challenge a friend or share with your study group.