Create a Book class that has two attributes:
.title.authorand two methods:
.get_title() that returns: "Title: " + the instance title..get_author() that returns: "Author: " + the instance author.and instantiate this class by creating 3 new books:
The name of the new instances should be PP, H, and WP, respectively.
For instance, if I instantiated the following book using this Book class:
I would get the following attributes and methods:
HP.title ➞ "Harry Potter"
HP.author ➞ "J.K. Rowling"
HP.get_title() ➞ "Title: Harry Potter"
HP.get_author() ➞ "Author: J.K. Rowling"