Skip to main content

Probability Riddle Using Python: Divisible by 3

 Riddle: 

A bag contains four pieces of paper, each labeled with one of the digits 1, 2, 3 or 4, with no repeats. Three of these pieces are drawn, one at a time without replacement, to construct a three-digit number. What is the probability that the three-digit number is a multiple of 3?


Python Solution: 



Riddle source:

https://artofproblemsolving.com/wiki/index.php/2007_AMC_8_Problems/Problem_24