Python - File Handling Fundamentals
Identify the error in this code snippet:
f = open("file.txt", "r")
f.write("Hello")
f.close()f = open("file.txt", "r")
f.write("Hello")
f.close()15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions