i need a py file for the problem below Modify the lottery program. Make changes in the original lottery program (Chapter 3 Assignment 7), so that The program should ask a user for any four numbers...

i need a py file for the problem below

Modify the lottery program.

Make changes in the original lottery program (Chapter 3 Assignment 7), so that The program should ask a user for any four numbers between 1 and 10. Then, it should randomly pickup four numbers, and compare them with those entered by a user. Next, the program should display numbers entered by a user, and then display numbers picked up by a computer. If a number matches to any other number, it is winning number, and the program should notify a user about it. For example, if a user entered 8 as the second number, and the program picked 8 in any position, then the 8 is the winning number. In the end, the program should tell the user how many numbers are winners.

May 03, 2021

Submit New Assignment

Copy and Paste Your Assignment Here