फ़ाइल ऑब्जेक्ट इनफ़ाइल से फ़ाइल की संपूर्ण शेष सामग्री को एक स्ट्रिंग के रूप में पढ़ने के लिए, हम ____________ का उपयोग करते हैं
To read the entire remaining contents of the file as a string from a file object infile, we use ____________
A
infile.read(2)
B
infile.read()
C
infile.readline()
D
infile.readlines()
Explanation
Correct Answer: B) infile.read()