MCQ Answer

Which function is used to open a file in Python?

Which function is used to open a file in Python?

Python में file खोलने के लिए कौन-सा function उपयोग होता है?
Topic : File Processing in Python

A. file()

B. open()

C. fopen()

D. load()




Correct Answer is :

B. open()



Explanation
Python's built-in open() function opens a file.

Python में file खोलने के लिए built-in open() function उपयोग होता है।
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