0.4430272557901488

11

8833/2500

1767/1250

[1632, 1636, 1660, 1687, 1688, 1697]

1756

49890

0.01245004704

Error in lines 2-2
Traceback (most recent call last):
File "/projects/dc288336-f2cd-4333-8eaf-56382a3bcf40/.sagemathcloud/sage_server.py", line 879, in execute
exec compile(block+'\n', '', 'single') in namespace, locals
File "", line 1, in <module>
NameError: name 'coinData' is not defined

2$\color{red}\diamondsuit$ 3$\clubsuit$ J$\color{red}\diamondsuit$

True

9$\spadesuit$ 10$\color{red}\heartsuit$ 10$\color{red}\diamondsuit$ False

Q$\color{red}\diamondsuit$ 10$\color{red}\heartsuit$ 3$\spadesuit$ True

J$\clubsuit$ 6$\color{red}\heartsuit$ 4$\color{red}\heartsuit$ True

J$\color{red}\diamondsuit$ 2$\color{red}\heartsuit$ K$\color{red}\heartsuit$ True

4$\color{red}\heartsuit$ 3$\spadesuit$ A$\color{red}\heartsuit$ False

A$\color{red}\heartsuit$ 7$\clubsuit$ 7$\spadesuit$ False

8$\clubsuit$ 3$\color{red}\diamondsuit$ 6$\spadesuit$ False

J$\clubsuit$ 9$\color{red}\diamondsuit$ 9$\spadesuit$ True

6$\color{red}\diamondsuit$ 10$\clubsuit$ 4$\color{red}\heartsuit$ False
Out of 10 trials, 5 had face cards.

Interact: please open in CoCalc

1

0.3341

First head at flip # 2. You win 4 dollars!
First head at flip # 1. You win 2 dollars!
First head at flip # 1. You win 2 dollars!
First head at flip # 1. You win 2 dollars!
First head at flip # 2. You win 4 dollars!
First head at flip # 4. You win 16 dollars!
First head at flip # 1. You win 2 dollars!
First head at flip # 4. You win 16 dollars!
First head at flip # 2. You win 4 dollars!
First head at flip # 4. You win 16 dollars!
Average payoff was 6.8.

Interact: please open in CoCalc