What is the output of the following code fragment? Explain.
fout = file("output.txt", 'w')
fout.write("Hello, world!\n")
fout.write("How are you?")
fout.close()
file("output.txt").read()
Answers
Answered by
1
Answer:
yaar you should type in notepad there you will get the output
Similar questions