Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import csv
- def tallenna_summat(lista, f):
- with open("lista.csv", "w", newline="") as f:
- reader = csv.reader(f)
- for osalista in reader:
- a, b, c, d = summat
- reader.write("{}:{}:{}:{}\n".format(a, b, c, d))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement