PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Blog available for sell
This blog is available for sale. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
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()
Show Answer
Next Question
Correct Answer:
B
Explanation: read function is used to read all the lines in a file.
© 2024-2025 Python Circle
Contact
Sponsor
Archive
Sitemap