fork download
  1. a=['1','2','3']
  2. print(a[0:2])
Success #stdin #stdout 0.07s 14140KB
stdin
Standard input is empty
stdout
['1', '2']