Merhaba arkadaşlar. Boş dururken aklıma Monty Hall problemi geldi ve bunun simülasyonunu yapayım dedim. Ancak, nedense oyuncu kapıyı değiştirdiğinde yaklaşık %40, değiştirmediğinde yaklaşık %100 winrate'e sahip oluyor. Problem kodun neresinde? Çok teşekkürler.
Python
anoya kopyala
Read more
Python
Kod:
# Suppose you're on a game show, and you're given the choice of three doors:
# Behind one door is a car; behind the others, goats.
# You pick a door, say No. 1, and the host, who knows what's behind the doors, opens another door,
#...
Read more
