Skip to content

Commit a424764

Browse files
committed
Small readme fix
1 parent 3b1b11c commit a424764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Monty Hall Problem/README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Next, Monty opens one of the empty doors. Obviously, he won't choose the door th
2929
```swift
3030
var openDoor = -1
3131
repeat {
32-
openDoor = random(numberOfDoors)
32+
openDoor = random(3)
3333
} while openDoor == prizeDoor || openDoor == chooseDoor
3434
```
3535

0 commit comments

Comments
 (0)