What will be the output of the following Python code?
fo = open("foo.txt", "wb")
print "Name of the file: ", fo.name
fo.flush()
fo.close()
fo = open("foo.txt", "wb")
print "Name of the file: ", fo.name
fo.flush()
fo.close()A. Compilation Error
B. Runtime Error
C. No Output
D. Flushes the file when closing them
Answer: Option D

Join The Discussion