Question: Language: PYTHON One of applications for data science is lottery (and games too) . Make a program to generate random Powerball numbers, and also program
Language: PYTHON
One of applications for data science is lottery (and games too) . Make a program to generate random Powerball numbers, and also program to calculate the probability of matching all numbers.
Powerball rule: Select 5 numbers from 1 to 69 for the white balls. The sequence of those 5 numbers does not matter, but those numbers do not repeat. After that, select one number from 1 to 26 for the red Powerball. The red ball number could be the same of any of white balls. Deep thinking: Is it worthy to spend millions of dollars ($2 for each) to ensure winning of typical 0.2 billion lottery?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
