MCQs > IT & Programming > Python > Considering Python 2.5, what will be the output of following code? fp = None with open('file.data', 'r') as fp: cont = f.read() print fp.closed

Python MCQs

Considering Python 2.5, what will be the output of following code? fp = None with open('file.data', 'r') as fp: cont = f.read() print fp.closed

Answer

Correct Answer: True

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