McqMate
Q. |
Which function is used to close a file in python? |
A. | close() |
B. | stop() |
C. | end() |
D. | closefile() |
Answer» A. close() | |
Explanation: f.close()to close it and free up any system resources taken up by the open file. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet