Simulating the Two-Heads-in-a-Row Puzzle in 20 Lines of Python
DEV Community
Simulating the Two-Heads-in-a-Row Puzzle in 20 Lines of Python
You flip a fair coin until you get two heads in a row. How many flips does it take, on average? Most...
0 comments
No comments yet.