title: Shuffle a tuple in python
body: <p>I define a tuple called <code>states</code> in my test environment. I then wish to step through this tuple in a random manner as I test my system:</p>
  
  <pre><code>st = time.time()
  for s in sorted(states,key=lambda k: random.random()):
      my_system.set_state(s)
      test.confirm_state(s) 
  </code></pre>
  
  <p>Each state should only be visited once. Is this the most pythonic way of shuffling my tuple?</p>