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.  
  5.  
  6.  
Success #stdin #stdout 0.04s 9684KB
stdin
8
stdout
[3, 4, 5, 6, 7, 8]