IMPORTANT NOTICE: Please be advised that the Verification Academy Forums will be offline for scheduled maintenance on Sunday, November 8th at 3:00 AM US/Pacific.
This is very much probabilistic, when you run for more iterations the probability ratio is more accurate.
When I run this code in eda playground, I see [0:5] is about 599 times, & [6:7] is about 401 times, that is 6:4 ratio. what is not working for you in this?
There’s a bug in the software of this forum. The link doesn’t always work in certain browsers. To fix this, try opening the link in a new tab or copying and pasting the URL.