Skip to content

Instantly share code, notes, and snippets.

@kirkdotcam
Created October 28, 2019 00:55
Show Gist options
  • Save kirkdotcam/11f6b314ecdf38488aac4bf58ff72b90 to your computer and use it in GitHub Desktop.
Save kirkdotcam/11f6b314ecdf38488aac4bf58ff72b90 to your computer and use it in GitHub Desktop.
#announcer removes a door randomly, can't be contestant_choice or prize_door
to_remove = contestant_choice
while(to_remove == contestant_choice or to_remove == prize_door):
to_remove = random.choice(doors)
doors.remove(to_remove)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment