NIELIT O Level Exam

What is a correct syntax to create an array of type float?

What is a correct syntax to create an array of type float?

फ्लोट प्रकार की सरणी बनाने के लिए सही सिंटैक्स क्या है?

A. arr=np.array([1,2,3,4],dtype='float')

B. arr=np.array([1,2,3,4],dtype='f')

C. arr=np.array([1,2,3,4],dtype=float)

D. All of the above




Correct Answer is :

D. All of the above



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad