Merge pull request #48 from chunjy92/master
fix spelling error; suggestion for an alternative answer
This commit is contained in:
commit
cf241dd5da
@ -721,7 +721,7 @@
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"#### 39. Create a vector of size 10 with values ranging from 0 to 1, both excluded (★★☆) \n",
|
||||
"(**hint**: np.linespace)"
|
||||
"(**hint**: np.linspace)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -266,7 +266,7 @@ np.sqrt(-1) == np.emath.sqrt(-1)
|
||||
|
||||
#### 39. Create a vector of size 10 with values ranging from 0 to 1, both excluded (★★☆)
|
||||
|
||||
(**hint**: np.linespace)
|
||||
(**hint**: np.linspace)
|
||||
|
||||
|
||||
|
||||
|
@ -801,7 +801,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"Z = np.linspace(0,1,12,endpoint=True)[1:-1]\n",
|
||||
"Z = np.linspace(0,1,11,endpoint=False)[1:]\n",
|
||||
"print(Z)"
|
||||
]
|
||||
},
|
||||
|
@ -369,7 +369,7 @@ print(Z)
|
||||
|
||||
|
||||
```python
|
||||
Z = np.linspace(0,1,12,endpoint=True)[1:-1]
|
||||
Z = np.linspace(0,1,11,endpoint=False)[1:]
|
||||
print(Z)
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user