QuestionQ92
Modules and PackagesAssuming the code below has executed successfully, which of the following expressions will always evaluate to True?
import random
random.seed(1)
v1 = random, random()
random.seed(1)
v2 = random.random()
- A v1 >= 1
- B len(random.sample([1,2,3],2)) > 2
- C random.choice([1,2,3]) >= 1
- D v1 = v2
Community Discussion