Python - File Handling Fundamentals
Find the error in this code that tries to read a file:
f = open('info.txt', 'r')
print(f.read())
f.close()f = open('info.txt', 'r')
print(f.read())
f.close()15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions