As reported: Millennium Quantitative Developer (Python) round 5 (2025): a simple probability problem — 5 red balls and 3 blue balls; the probability of drawing a red ball given that the first ball drawn was red.
An urn contains 5 red and 3 blue balls. Two balls are drawn one after the other without replacement. Given that the first ball is red, what is the probability that the second ball is also red?
Then: what changes if the balls are drawn with replacement, and what is the probability that the second ball is red when you know nothing about the first?