TristanSld

enumerate() 1

Jan 8th, 2014
49
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2. #-*-coding:utf-8-*-
  3. dizelge=dir(list)
  4. for sira_no, yontem_adi in enumerate(dizelge,1):
  5.     print sira_no, yontem_adi
RAW Paste Data