code: def parse_metadata(section):
    
    metadata = {}
    metadata_lines = section.split('\n')
    for line in metadata_lines:
      colon_index = line.find(':')
      if colon_index != -1:
        key = line[:colon_index].strip()
        val = line[colon_index + 1:].strip()
        metadata[key] = val
  
    return metadata
docs: Given the first part of a slide, returns metadata associated with it.