i need a py file of program below Write a lottery program. 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...

i need a py file of program below


Write a lottery program.


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 in its value and position, 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 as a second number, then the 8 is the winning number. In the end, the program should tell the user how many numbers are winners.

May 03, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here