You are viewing a single comment's thread. Return to all comments →
import fractions probM = fractions.Fraction(1,2) #prob of reading M probE = fractions.Fraction(3,5) #prob of reading E probB = fractions.Fraction(1,5) #prob of reading both print(probM + probE - probB)
Seems like cookies are disabled on this browser, please enable them to open this website
Day 3: Basic Probability Puzzles #8
You are viewing a single comment's thread. Return to all comments →