Ver originalimport csvwith open("input.txt", "rb") as f: reader = csv.reader(f, delimiter=' ') for i in reader: print map(int, i)
0 0 2 0 0 3 0 2 0 4 2 5 0 6 4