ответвлено от main/python-labs
test12
Этот коммит содержится в:
@@ -173,9 +173,9 @@ plt.plot(d)
|
|||||||
plt.show()
|
plt.show()
|
||||||
|
|
||||||
with open("RES2a.bin", "wb") as f:
|
with open("RES2a.bin", "wb") as f:
|
||||||
f.write(struct.pack("i", len(d)))
|
f.write(str(len(chisla))
|
||||||
for x in d:
|
for x in chisla:
|
||||||
f.write(struct.pack("f", x))
|
f.write(str(x) + '\n')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@@ -204,4 +204,4 @@ with open("RES2a.bin", "wb") as f:
|
|||||||
1.8708286933869707
|
1.8708286933869707
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
Ссылка в новой задаче
Block a user