diff --git a/TEMA8/test_mod.md b/TEMA8/test_mod.md index ded7cd7..6e392ce 100644 --- a/TEMA8/test_mod.md +++ b/TEMA8/test_mod.md @@ -173,9 +173,9 @@ plt.plot(d) plt.show() with open("RES2a.bin", "wb") as f: - f.write(struct.pack("i", len(d))) - for x in d: - f.write(struct.pack("f", x)) + f.write(str(len(chisla)) + for x in chisla: + f.write(str(x) + '\n') ``` @@ -204,4 +204,4 @@ with open("RES2a.bin", "wb") as f: 1.8708286933869707 ``` -![](Fig1.png) \ No newline at end of file +![график](Fig1.png) \ No newline at end of file