Question: 1 0 players, starting with $ 1 0 0 each. Each player trades with one other player randomly. Each trade has a 5 0 /

10 players, starting with $100 each.
Each player trades with one other player randomly.
Each trade has a 50/50 chance to win/lose $10.
A player that gets to $0 is eliminated.
----
If you play the above game long enough, all the money will end up in one player, and everyone else will be left with $0. Write a program that calculates how many trades it takes for one player to win it all.
===
Post your Python code , and how many trades it took you.

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 Programming Questions!