Question: (Python) Lottery program. The program randomly generates a two-digit number, prompts the user to enter a two-digit number, and determines whether the user wins according
(Python) Lottery program. The program randomly generates a two-digit number, prompts the user to enter a two-digit number, and determines whether the user wins according to the following rules:
1. if the users input matches the lottery In the exact order, the award is $10,000.
2. if all the digits in the users input match all the digits in the lottery number, the award is $3,000.
3. if one digit in the users input matches a digit in the lottery number, the award is $1,000.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
