Book whose constructor takes title and author, storing both as instance attributes, plus a method describe() returning '<title> by <author>'. The warm-up every OOP interview starts with: attributes in __init__, behavior in methods.Book('Dune', 'Herbert').describe()'Dune by Herbert'
Attributes set in __init__ feed the method.
self.title = title binds the attribute.
An f-string builds the description.