def loe(failinimi): f=open(failinimi, "r") m=[] for rida in f: m.append([float(jaam) for jaam in rida[:-2].replace(",", ".").split(";")]) f.close() return m def kirjuta(failinimi, m): f2=open(failinimi, "w") for r in m: f2.write(";".join([str(x).replace(".", ",") for x in r])+"\n") f2.close() def lisaSummad(m): algusveerg=5 lopuveerg=len(m[0])-1 lisarida=len(m[0])*[0] #tyhi koht for r in m: veerg=algusveerg while veerg