fork download
  1. arr = [1, 2, 3]
  2. print(arr[-1])
  3. print(arr[-2])
  4.  
  5. #https://pt.stackoverflow.com/q/176232/101
Success #stdin #stdout 0.02s 9040KB
stdin
Standard input is empty
stdout
3
2