Skip to content

Commit 3dde059

Browse files
authored
Update D2_of_3Day_DoneWithPython.md
1 parent 307986f commit 3dde059

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

D2_of_3Day_DoneWithPython.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -766,11 +766,11 @@ In [2] : np.savetxt("myfile.txt", a)
766766
* 默认情况下,loadtxt()假定列是用空格分隔的。 您可以通过修改可选的参数进行更改。 以散列(#)开头的行将被忽略。 (By default, loadtxt() assumes that columns are separated with whitespace. You can change this by modifying optional parameters. Lines starting with hashes (#) are ignored.)
767767

768768
* 示例文本文件data.txt: (Example text file data.txt:)
769-
     
770-
|# Year|  Min temp.| Hax temp.|  
771-
|------|----------|-----------|
772-
|1990|     -1.5 |       25.3|       
773-
|1991|     -3.2|        21.2|
769+
770+
|# Year|  Min temp.| Hax temp.|  
771+
|------|----------|-----------|
772+
|1990|     -1.5 |       25.3|       
773+
|1991|     -3.2|        21.2|
774774
775775
776776
* Code:
@@ -1355,7 +1355,7 @@ f = sy.sin(x) + sy.exp(x)
13551355
print(sy.integrate(f, (x,  a,  b)))
13561356
print(sy.integrate(f, (x,  12)))
13571357
print(sy.integrate(f, (x,  1.0,2.0)))
1358-
#  multi variables
1358+
# 多变量 multi variables
13591359
g = sy.exp(x) + x * sy.sin(y)
13601360
print(sy.integrate(g, (y,a,b)))
13611361
```

0 commit comments

Comments
 (0)