Python - Context Managers
What will be the output of this code?
try:
with open('file.txt', 'r') as f1, open('file2.txt', 'r') as f2:
data1 = f1.read()
data2 = f2.read()
except FileNotFoundError:
print('File missing')
else:
print('Files read successfully')