-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1feb0f6
commit e0c7431
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
## Create a numpy array of all zeros, with dimensions (3,4,2) | ||
# Create a numpy array of all zeros, with dimensions (3,4,2) | ||
|
||
Let's start with a warm up task. | ||
We will create a variable named as zeros_array containing all zeros and having dimensions | ||
(3, 4, 2) | ||
|
||
You need to write a function array_zeros() which assigns the variable zeros_array with numpy array of all zeros. | ||
## Write a function `array_zeros` that : | ||
* Will create a variable named as `zeros_array` with numpy array of dimensions (3, 4, 2) | ||
* Assigns that variable with numpy array of all zeros. | ||
|
||
## Parameters: | ||
### Parameters: | ||
This function takes in no parameters | ||
|
||
## Returns | ||
This function returns an array of dimensions (3,4,2) | ||
### Returns: | ||
| Return | dtype | description | | ||
| --- | --- | --- | | ||
| variable zeros_array | numpy.ndarray | An array of dimensions (3,4,2)| | ||
|
||
|
||
|