Advertisement
Guest User

Untitled

a guest
Nov 25th, 2015
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. with open('evalfile.txt', 'r') as infile:
  2. for line in infile:
  3. numposition = list(enumerate(line.rstrip('\n')))
  4. for tupl in numposition:
  5. if int(tupl[1]) > 0:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement