We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I know this is for itertools practice, but without itertools the answer is quite clean. Using 1 minus the multiplicative probability of not choosing 'a'.
Iterables and Iterators
You are viewing a single comment's thread. Return to all comments →
I know this is for itertools practice, but without itertools the answer is quite clean. Using 1 minus the multiplicative probability of not choosing 'a'.