MCQ Answer

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

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

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

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 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz