Python - Constructors and Object Initialization
Given this class:
What are the values of
class Book:
def __init__(self, title, author='Unknown'):
self.title = title
self.author = author
b1 = Book('Python 101')
b2 = Book('Learn AI', 'Alice')What are the values of
b1.author and b2.author?