Question: in python w comments! use ifs, elifs, no loops Write a program that randomly generates a 2-digit lottery number. Then ask the user to enter
Write a program that randomly generates a 2-digit lottery number. Then ask the user to enter a 2-digit number. If the user's entered number matches the lottery number, the user wins $10,000. If the user's entered number has the same two digits as the lottery number, but in the wrong order, the user wins $3,000. If one digit in the user's number matches one digit in the lottery number, the user wins $100. Otherwise the user wins $0. Print out how much the user has won
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
