PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Support
Please support this website.
Visit the Amazon using this affiliate link
. There won't be any difference in your purchage, we will get some commission for every purchase you make.
Advertise with us
Python Multiple Choice Questions
How do you close a file object (fp)?
A. close(fp)
B. fclose(fp)
C. fp.close()
D. fp.__close__()
Show Answer
Next Question
Correct Answer:
C
Explanation: close() is a method of the file object.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap