Question: use python Q10 Write a program to roll two dice with randint() function. If the dices show the same number print (Equal) if they are

 use python Q10 Write a program to roll two dice with

use python

Q10 Write a program to roll two dice with randint() function. If the dices show the same number print ("Equal") if they are not same, keep on rolling it until they produce same value. Hint: Use break keyword when you check if the dices are equal so that loop terminates. (marks 10)

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!