Question: Create a function check_krabs that takes a list of tuples (Example: [(3,6), (3,5), (2,2), (4,5) (4,1)]) representing the 2 rolls in each throw as a

Create a function check_krabs that takes a list of tuples (Example: [(3,6), (3,5), (2,2), (4,5) (4,1)]) representing the 2 rolls in each throw as a parameter. Your program should return 'The player won the game in trial number {count of trials}' for a win and 'The player lost the game in trial number {count of trials}' for a loss.

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!