Ich versuche, das Monty-Hall-Problem in Python zu simulieren, und habe Probleme beim RefactoringPython

Python-Programme
Guest
 Ich versuche, das Monty-Hall-Problem in Python zu simulieren, und habe Probleme beim Refactoring

Post by Guest »

ok, das ist also, was ich habe

Code: Select all

import random

def notThese(num1, num2):
for j in range(1,4):
if j != num1 and j != num2:
return j

i=0
wins= 0

change = True
times = 9000

while i

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post