fork download
  1. import random
  2. counts = [1,2,3,4,5,6] * 999
  3. random.shuffle(counts)
  4. roll = True
  5. while roll :
  6. print(counts.pop())
  7. roll = False
  8. def rollagain() :
  9. roll = True
Success #stdin #stdout 0.04s 12360KB
stdin
Standard input is empty
stdout
5