Finish the method definition below.
The parameter books_record
is an array of hashes, each of which contains three fields, book
, borrower
and date
.
Given a books_record
array and a borrower
string, the method should return a string like <Borrower Name> borrowed <book name> on <date>
, if the borrower
has borrowed a book. If not, the function should return No books borrowed
.