Python - File Handling Fundamentals
What will be the output of this code?
f = open('data.txt', 'r')
content = f.read()
f.close()
print(type(content))f = open('data.txt', 'r')
content = f.read()
f.close()
print(type(content))15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions