fork download
  1. # your code goes here
  2. A = [0, 1, 2, 3, 4 ,5, 6, 7,]
  3. print(A[:6])
Success #stdin #stdout 0.06s 14132KB
stdin
Standard input is empty
stdout
[0, 1, 2, 3, 4, 5]