Advertisement
Guest User

Untitled

a guest
Jan 27th, 2020
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import csv
  2.  
  3. ids = {}
  4.  
  5. with open('votes.csv','r') as file:
  6. reader = csv.reader(file)
  7. for row in reader:
  8. ids[row[0]] = {'wealth':0 ,'wealth_count':0}
  9. ids[row[1]] = {'wealth':0 ,'wealth_count':0}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement