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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!