What will be the output of the following code?
with open("example.txt", "w") as f: f.write("Hello, Python!") print(f.closed)
False
True
None
Error
This question is part of this quiz :