NIELIT O Level Exam

which is a correct way to open a file in python

which is a correct way to open a file in python

पायथन में फ़ाइल खोलने के लिए किस फ़ंक्शन का उपयोग किया जाता है?

A. file_object=open(file_name,mode)

B. open(file_object,file_name,mode)

C. file_open(file_object,file_name,mode)

D. file_object=file_open(file_name,mode)




Correct Answer is :

A. file_object=open(file_name,mode)



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