🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

फ़ाइल ऑब्जेक्ट इनफ़ाइल से फ़ाइल की संपूर्ण शेष सामग्री को एक स्ट्रिंग के रूप में पढ़ने के लिए, हम ____________ का उपयोग करते हैं

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()

Latest Updates