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



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 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 Best Website and Software Company in Allahabad