Python - Constructors and Object Initialization
Consider this class:
class Book:
def __init__(self, title, author="Unknown"):
self.title = title
self.author = author
b1 = Book("Python 101")
b2 = Book("Learn AI", "Dr. Smith")
print(b1.author, b2.author)What will be printed?
