jetbrains-academy / Python-Libraries-NumPy

MIT License
1 stars 3 forks source link

Incorrect output for an empty np.array(3,4) Array Basics / Create Empty Array #49

Closed edutools-service closed 2 years ago

edutools-service commented 2 years ago

In the Description section of the lesson there is an incorrect output result which shown for creation of an empty array a = np.array((3, 4)). Output which shown in the lesson for print(a) --> [[0. 0. 0.] [0. 0. 0.] [0. 0. 0.] [0. 0. 0.]] is the output for np.array((4, 3)). While the right output for a = np.array((3, 4) should be print(a) --> [[0. 0. 0. 0.] [0. 0.0. 0.] [0. 0. 0. 0.]] Check pls. Good luck and thanks for your great work!

sofiiako commented 2 years ago

Thank you so much! Fixed it