Python code simulating Russian roulette