<prompt> def classify_booksbook:Kujenga kazi Python kuorodhesha vitabu kulingana na aina.  <response>: Here is one example of a function that classifies books according to genre:def classify_booksbook: str - str: Classifies books according to genre. Parameters: book str: a string describing the book. Returns: str: the genre of the book. genres fantasy: magic, dragon, elf, orc, wizard, sword, dwarf, romance: love, relationship, kiss, affair, romantic, thriller: mystery, crime, suspense, detective, murder, killer, science fiction: space, future, alien, robot, technology, time travel book book.lower for genre, keywords in genres.items: count 0 for keyword in keywords: if keyword in book: count 1 if count 2: return genre return unknownThis function takes in a book parameter, which is a string describing the book. The function uses a dictionary to store the genres and their associated keywords. The function then converts the book description to lower case and checks if any of the genre keywords appear in the book description. If more than 2 keywords for a specific genre are found in the book description, the function returns that genre. If no genre is identified, the function returns unknown. 