Question: Python: As you drive across one of the Washington DC monuments, there appeared to be a billboard with bold words informing the citizens of DC

Python: As you drive across one of the Washington DC monuments, there appeared to be a billboard with bold words informing the citizens of DC that the Powerball jackpot has risen to one of the all-time high. As you rest in your deep thoughts thinking that you have chance to win this jackpot. As an IT professional living and working in the District of Columbia area living with five other fellow roommates, who are in the same situation. As the only IT expert in this house, you decided to try your luck and to generate some pseudo-numbers to see this jackpot can be claimed by you and your fellow roommates. Requirements:

Create one function called lotto() with no data inside the parameter area.

Inside this lotto() function o Write one loop to create the five normal Numbers + Powerball o Write a second loop to create a total of 10 Lottery tickets

No need to prompt any User for input.

You can make it fancy to include a main() to call the lotto()

Must use a python List. Random seed must be feed a time element. Must use a python random class aka import random and import time Must use a python random seed function Regular numbers are inclusive 1 to 70, Powerball numbers are 1-25 inclusive.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!