you are viewing a single comment's thread
view the rest of the comments
[–] 64 points 2 years ago (2 children)

You call that russian roulette? This is real russian roulette. Dying is a 1/6 probability.

#!/usr/bin/env python3
import random

barrel = [0, 0, 0, 0, 0, 1]
random.shuffle(barrel)

print("Russian Roulette")
for i in barrel:
  input("Press enter to shoot")
  if i == 1:
    print("You are dead.")
    exit()
  else:
    print("Phew. You survived.")
  • source
  • hideshow 4 child comments
  • [–] 20 points 2 years ago (5 children)

    I love this, except for i i hate i.

  • source
  • parent
  • hideshow 10 child comments