fork download
  1. #!/usr/bin/env python3
  2. import random
  3. a = [random.randint(1, 5) for _ in range(10)]
  4. b = [random.randint(1, 5) for _ in range(10)]
  5. print(a)
  6. print(b)
  7.  
Success #stdin #stdout 0.02s 11432KB
stdin
Standard input is empty
stdout
[4, 2, 5, 3, 1, 2, 4, 1, 3, 2]
[3, 1, 2, 4, 1, 4, 1, 4, 1, 4]