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)



Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad