fork(2) download
  1. # your code goes here
  2.  
  3.  
  4. from random import shuffle
  5.  
  6. foo = []
  7. foo.append([1, 2, 3])
  8. foo.append([4, 5, 6])
  9. foo.append([7, 8, 9])
  10.  
  11. shuffle(foo)
  12. map(shuffle, foo)
  13.  
  14. print foo
Success #stdin #stdout 0.02s 10616KB
stdin
Standard input is empty
stdout
[[5, 6, 4], [2, 1, 3], [9, 8, 7]]