Click here to Skip to main content
15,886,199 members
Articles / General Programming / Threads

Python Single Thread vs Multi-Thread vs Multi-Process on Monty Hall Problem

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
11 Oct 2018CPOL22 min read 16K   114   12  
This is a probability based simulation that demonstrates 'Swapping' is considered the best option! We also look at the effect of multi-threading and multi-process in Python.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer
Scotland Scotland
I have been working in the Oil & Gas Industry for over 30 years now.

Core Discipline is Instrumentation and Control Systems.

Completed Bsc Honours Degree (B29 in Computing) with the Open University in 2012.

Currently, Offshore Installation Manager in the Al Shaheen oil field, which is located off the coast of Qatar. Prior to this, 25 years of North Sea Oil & Gas experience.

Comments and Discussions