fork(1) download
  1. arr = [1, 2, 3]
  2. print(arr[-1])
  3. print(arr[-2])
Success #stdin #stdout 0.01s 9992KB
stdin
Standard input is empty
stdout
3
2