Compiling and Running
nim c -r monty_hall.nim
A little script to demonstrate that in the Monty Hall problem: https://en.wikipedia.org/wiki/Monty_Hall_problem, it absolutely matters if the host is knowingly choosing an empty door, or if they are selecting at random.
Nim
nim c -r monty_hall.nim