t391.py 151 B

12345678910111213
  1. l = range(9)
  2. print l[-10:]
  3. print l[8:-10:-1]
  4. s = "01234"
  5. print s[-6:0]
  6. print s[-6:]
  7. print s[-6:-3]
  8. print s[-6:20]
  9. print l[4]
  10. print l[-1]
  11. l[None] = 4