F = open('Notes.txt', 'A')
Reason — F = open('Notes.txt', 'A'), in this statement mode should be written in small letter 'a'. So the correct statement would be F = open('Notes.txt', 'a').
F = open('Notes.txt', 'A')
Reason — F = open('Notes.txt', 'A'), in this statement mode should be written in small letter 'a'. So the correct statement would be F = open('Notes.txt', 'a').