Whether the opened door is 1 of 2 non-car non-selected doors, or the only one (1 of 1), is not disclosed. If the former, Monty chooses which door at random, but that in no way affects the chance of the car being behind the selected door; that chance remains 1/3. Switching is the only way to the other 2/3 chance, regardless of which door Monty opens, and regardless of whether he had a choice or not.
Yes, larger n makes (n-1)/n closer to 1
In the simulation code,
@DaveC426913 checks for whether the contestant's selected door has the car. My point is that once that's known, then if it's so, switching always loses, and if it's not, switching always wins ##-## there is no need for updating probabilities in the Bayesian sense; the originally selected door always has 1/3 chance, and the other 2 doors or the remaining 1 of them always have/has 2/3 chance. That the 2 doors chance is consolidated into 1 remaining door doesn't change
their 2/3 chance.