fhand= open("mbox-short.txt")
records = 0
for record in fhand:
  if record.startswith("From "):
    split_record = record.split()
    print(split_record(1))
    records += 1

print("There were",records,"lines in the file with From as the first word")
962aa75fea71466930e04b124dcc696a65409d75
<mask token>

<mask token>
for record in fhand:
    if record.startswith('From '):
        split_record = record.split()
        print(split_record(1))
        records += 1
print('There were', records, 'lines in the file with From as the first word')

fhand = open('mbox-short.txt')
records = 0
for record in fhand:
    if record.startswith('From '):
        split_record = record.split()
        print(split_record(1))
        records += 1
print('There were', records, 'lines in the file with From as the first word')

fhand= open("mbox-short.txt")
records = 0
for record in fhand:
  if record.startswith("From "):
    split_record = record.split()
    print(split_record(1))
    records += 1

print("There were",records,"lines in the file with From as the first word")