Question: 1Write a program to randomly generate a two-digit integer num, and prompt the user to enter a two-digit integer guess. The rules are as follows:
1Write a program to randomly generate a two-digit integer num, and prompt the user to enter a two-digit integer guess. The rules are as follows: (12 points)
1). If a two-digit number you enter is exactly equal to this num, then print full mark.
2). If the order of a two-digit number you input is opposite to num, then print incredible.
3). If the two-digit number you enter has only one position in num, then print excellent.
4). Otherwise, print common
python programming
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
