Report Bug
Qus : What is the purpose of zeros() function used in NumPy array ?
QusNumPy सरणी में उपयोग किए जाने वाले शून्य () फ़ंक्शन का उद्देश्य क्या है?

A. To make a Matrix with all diagonal element 0
B. To make a Matrix with first row 0
C. To make a Matrix with all elements 0
D. None of the above


Solution
C. To make a Matrix with all elements 0



Explanation
Python numpy. zeros() function returns a new array of given shape and type, where the element's value as 0.



Report Bug