code review for gold balls problem

No.13315985 ViewReplyOriginalReport
I know people have been trolling this a lot recently, but I wrote some python that proves the answer is 50% and nobody has been able to find a flaw in it. Can someone code review this?

https://www.online-python.com/apWuHxms8j