fork download
  1. arr = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
  2. arr = arr[3:6] + arr[6:9]
  3. print(arr )
  4.  
Success #stdin #stdout 0.03s 9580KB
stdin
8
stdout
[3, 4, 5, 6, 7, 8]