Get the answers you need at Westonci.ca, where our expert community is always ready to help with accurate information. Explore thousands of questions and answers from a knowledgeable community of experts on our user-friendly platform. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.
Sagot :
Answer:
5/ 18
Explanation:
Given :
List A: [20,10,20]
List B: [40,10,30,20,40,30]
Chance that number drawn from list A is larger than or equal to that drawn dlfrom list B.
If:
A = 20
B ≤ 20 : [10,20] = 2
A = 10
B ≤ 10 : [10] = 1
A = 20
B ≤ 20 : [10,20] = 2
Probability = Required outcome / Total possible outcomes
Hence,
required outcome = (2 + 2 +1) = 5
Total possible outcomes = 3C1 * 6C1 = (3 * 6) = 18
Hence,
chance that the number we drew from list A is larger than or equal to the number we drew from list B
= 5 / 18
In this exercise we have to use the knowledge in computational language in python to describe a code that best suits, so we have:
The code can be found in the attached image.
To make it simpler we can write this code as:
import random
A=[20,10,20]
B=[40,10,30,20,40,30]
print(random.choice(A))
print(random.choice(B))
See more about python at brainly.com/question/19705654
Thanks for using our platform. We aim to provide accurate and up-to-date answers to all your queries. Come back soon. Thanks for using our platform. We aim to provide accurate and up-to-date answers to all your queries. Come back soon. We're glad you chose Westonci.ca. Revisit us for updated answers from our knowledgeable team.