41 ms·
"end" also works as a subroutine terminator. The gambling simulations in the Monte Carlo section show that you always lose - and are IMO actually valuable for t
by chkas 7y ago
"end" also works as a subroutine terminator. The gambling simulations in the Monte Carlo section show that you always lose - and are IMO actually valuable for teenagers. Thanks for the suggestion for the trace mode - but it's not that easy to implement.
- Crinus 7y agoYeah i also noticed this article[1] that goes into more detail (and found interesting that when the article said "Most of the time we lose." i could modify the code to run the entire example 100 times and count the number of times you'd win - that would be ~20% :-P). Perhaps make the "Why It Is a Bad Idea to Go to the Casino" text at the top of the Monte Carlo methods a link to that article (with some font that stands out a bit - like bold or colored - since my eyes glanced over that part). [1] https://easylang.online/apps/tutorial_mcarlo.html https://easylang.online/apps/tutorial_mcarlo.html