Assuming that the code below has been executed successfully, which of the following expressions will always evaluate to True? (Select two answers)

Assuming that the code below has been executed successfully, which of the following expressions will always evaluate to True? (Select two answers)

import random

v1 = random. random()

v2 = random. random()
A . len(random. sample([1,2,3],1)) > 2
B . v1 == v2
C . random.choice{[1,2,3]) > 0
D . v1 < 1

Answer: C,D

Latest PCAP-31-03 Practice Questions with 109 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments