Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import csv;
- f = open("btc.csv", "r");
- c = csv.reader(f, delimiter=",");
- total = 0.0;
- for row in c:
- total += float(str(row[3]).replace(",", ""));
- print total;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement