numpy-100
numpy-100 copied to clipboard
Alternative solution to q4, Use Z.nbytes to find the memory size directly.
Scope
100_Numpy_exercises_with_hints_with_solutions.md
100_Numpy_exercises_with_solutions.md
Description
This pull request gives an alternative solution to q4. Z.nbytes is a built-in attribute of the NumPy array object, specifically designed to return the total number of bytes. It provides a concise and straightforward way to obtain the result.
Thanks. All the md and notebook files are generated from the ktx files in sources. Could you make modify your patch?