Python - File Handling Fundamentals
Given
log.txt initially contains 'Start\n', what will be printed after running this code?with open('log.txt', 'a') as f:
f.write('End\n')
with open('log.txt', 'r') as f:
print(f.read())