Browse Source

update audit

pull/69/head
brad-gh 2 years ago committed by eslopfer
parent
commit
a191ae2803
  1. 11
      piscine/week01/day01/ex01/audit/README.md

11
piscine/week01/day01/ex01/audit/README.md

@ -1,11 +1,10 @@
##### This exercise is validated if the your_numpy_array is a NumPy array. It can be checked with `type(your_numpy_array)` that should be equal to `numpy.ndarray`. And if the type of is element are as follow.
##### This exercise is validated if the your_numpy_array is a NumPy array. It can be checked with `type(your_numpy_array)` that should be equal to `numpy.ndarray`.
##### Try and run the following code.
##### Run all the cells of the notebook or `python main.py`
```python
for i in your_np_array:
print(type(i))
##### The type printed are as follow.
```
<class 'int'>
<class 'float'>
<class 'str'>
@ -15,5 +14,3 @@ for i in your_np_array:
<class 'set'>
<class 'bool'>
```
###### Does it display the right types as above?

Loading…
Cancel
Save