Someone could help me with Generator project?

Hi everyone,
I want to know why Jane is not returning by yield in generator?
Someone can help me?
The link of task is here

guests = {}
def read_guestlist(file_name):
  text_file = open(file_name,'r')
  sended_guest = None
  while True:
    line_data = text_file.readline().strip().split(",")
    sended_guest = yield line_data
    if sended_guest is not None:
      line_data = sended_guest.split(",")
    if len(line_data) < 2:
    # If no more lines, close file
      text_file.close()
      break
    name = line_data[0]
    age = int(line_data[1])
    guests[name] = age
r = read_guestlist("guest_list.txt")
#Checkpoint 1
# 
i = 0
for name in r:
  if i < 10:
    print(f"{i+1}. {name}")
  elif i == 10: # Send Jane's when count reachs 10
    r.send("Jane,35")
    print(f"{i + 1}. {name}")
  i += 1

I’m getting this output:

  1. [‘Tim’, ‘22’]
  2. [‘Tonya’, ‘45’]
  3. [‘Mary’, ‘12’]
  4. [‘Ann’, ‘32’]
  5. [‘Beth’, ‘20’]
  6. [‘Sam’, ‘5’]
  7. [‘Manny’, ‘76’]
  8. [‘Kenton’, ‘15’]
  9. [‘Kenny’, ‘27’]
  10. [‘Dixie’, ‘46’]
  11. [‘Mallory’, ‘32’]

The guest_list.txt contains:

  1. Tim,22
  2. Tonya,45
  3. Mary,12
  4. Ann,32
  5. Beth,20
  6. Sam,5
  7. Manny,76
  8. Kenton,15
  9. Kenny,27
  10. Dixie,46
  11. Mallory,32
  12. Julian,4
  13. Edward,71
  14. Rose,65

I printed the stuff returned by the .send
print( r.send("Jane,35") )