Question: Task 1 : Write the sevens.py program that plays the game of sevens until the pot is empty and prints the number of rolls it

Task 1: Write the sevens.py program that plays the game of sevens until the pot is empty and prints the number of rolls it took to break the player.
An example of the program is shown below:
How many dollars do you have? 50
You are broke after 220 rolls.
You should have quit after 6 rolls when you had $59.

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!