Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Python Institute Certified Associate in Python Programming PCAP-31-03 Question # 17 Topic 2 Discussion

Python Institute Certified Associate in Python Programming PCAP-31-03 Question # 17 Topic 2 Discussion

PCAP-31-03 Exam Topic 2 Question 17 Discussion:
Question #: 17
Topic #: 2

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],2)) > 2


B.

v1 == v2


C.

random.choice([1,2,3]) >=1


D.

v1 >= 1


Get Premium PCAP-31-03 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.