Assume the file names.txt contains the following names: Bill…
Assume the file names.txt contains the following names: BillJaneStaceyWhat will be the output after the following code is executed? in_file = open(‘names.txt’, ‘r’) print(‘—– Header —–‘) for line in in_file: print(line) print(‘—– Footer —–‘) in_file.close()