promptdojo_

Write find_by_id(logs, pid) that returns the log record (a dict) whose id equals pid. You can assume the id exists.

full-screen editor opens — close anytime to keep reading.