MCQs > IT & Programming > Python > If a file is opened by calling 'input = open('data')', what does the line 'aString = input.read()' do?

Python MCQs

If a file is opened by calling "input = open('data')', what does the line 'aString = input.read()' do?

Answer

Correct Answer: Read entire file into aString as a single string

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it