[ooooooooook] 100.0% passed
Assume we have two lists, list A and list B. List A contains the numbers [10,20,30],
while list B contains the numbers [10,20,30,40]. We choose one number from list A randomly and
one number from list B randomly. What is the chance that the number we drew from list A is
larger than the number we drew from list B?
2. Monkeys Typing Shakespeare
(...or at least the string "datascience")
A monkey is banging repeatedly on the keys of a
typewriter. Each time, the monkey is equally likely to hit any of the 26 lowercase letters of the
English alphabet, regardless of what it has hit before. There are no other keys on the keyboard.
Suppose the monkey hits the keyboard 11 times. Compute the chance that the
monkey types the sequence
. (Call this
.) Use algebra and type
in an arithmetic equation that Python can evalute.