The Mega Millions lottery

Question Q6.6.3

The American Mega Millions lottery, at the time of writing, involves the selection of five numbers out of 70 and one from 25. The jackpot is shared among the players who match all of their numbers in a corresponding random draw. What is the probability of winning the jackpot? Write a single line of Python code using NumPy to pick a set of random numbers for a player.

Solution Q6.6.3