Timeline for 100-doors puzzle
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 13, 2019 at 14:54 | comment | added | Peilonrayz♦ |
@jirassimok That could be an improvement, but since it's a positional and keyword argument I don't think many will use check_door_round(1, doors_=2) over check_door_round(1, 2) , :)
|
|
Jun 13, 2019 at 14:48 | comment | added | jirassimok |
To make the function marginally nicer to use, the parameter should probably by doors and the local variable doors_ , or the parameter could be num_doors or the like.
|
|
Jun 13, 2019 at 11:25 | comment | added | MrJoe |
True. The step argument in the for loop is more elegant. Thanks.
|
|
Jun 13, 2019 at 11:23 | vote | accept | MrJoe | ||
Jun 13, 2019 at 11:19 | history | answered | Peilonrayz♦ | CC BY-SA 4.0 |