title: Removing every nth element from a list until two elements remain in python3
body: <p>modeling a game of Russian roulette where the contestants stand in a circle.
  -every 7th contestant loses until 2 are left alive.</p>
  
  <pre><code>contestants = list(range(1, 51))
  dead_men = []
  dead_man = 6
  
  while len(contestants) &gt; 2:
      if dead_man &gt; len(contestants):
          dead_man = dead_man - len(contestants)
      loser = contestants.pop(dead_man)
      dead_men.append(loser)
      dead_man += 6
  </code></pre>
  
  <p>This gives me an index error with an index of 9 when my list length is 8</p>