TristanSld

lists 1

Jan 8th, 2014
50
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2. #-*-coding:utf-8-*-
  3. dagitimlar=["LMDE","Linux Mint","Pardus","Debian","Slackware",
  4. "Mandriva","GNewSense","OpenSuse","PCLinuxOS","Knoppix"]
  5. print dagitimlar,"\n"
  6. print dagitimlar[0],"\n"
  7. print dagitimlar[3],"\n"
  8. print len(dagitimlar),"\n"
  9. print dagitimlar[0:5],"\n"
  10. print dagitimlar[:2],"\n"
  11. print dagitimlar[:],"\n"
  12. print dagitimlar[4:],"\n"
  13. print dagitimlar[0:6:2],"\n"
  14. print dagitimlar[::2],"\n"
  15. print dagitimlar[::-1]
RAW Paste Data