Powerball is a Lottery with six randomly drawn numbers. The first five can be any number from 1 to 69. The final number, the Powerball, is from 1 to 26.
Let’s write a program that simulates the drawing of all six numbers. The details:
For the first five numbers, each number can only appear once
The final number could be a repeat of one of the first five
Use Top-Down Design techniques
Print Intro
Ask how many draws to simulate – ????
Simulate ???? draws and print the numbers
Guidance: Write out the pseudocode before you start programming. What are the major tasks?
Rubric: 50 points for the following requirements
20 points for a program which reflects top-down design
20 points for a successful simulation
10 Points for an accurate & complete Structure Chart
Save this as _program9.py; save output from the simulation of 50 draws.
You must submit:
Your source code as a .py file. The code should be well-structured and commented
Your structure chart (Powerpoint, PDF, picture of hand-drawn chart, whatever works for you)
A screen shot of the program displaying all required output and your name, class, and program number
Must start with def main and end with main()
Also MUST be done in IDLE python not normal Python

For This or a Similar Paper Click Here To Order Now