Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open('evalfile.txt', 'r') as infile:
- for line in infile:
- numposition = list(enumerate(line.rstrip('\n')))
- for tupl in numposition:
- if int(tupl[1]) > 0:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement