This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Authors: | |
def __init__(self, author1, author2): | |
self.author1=author1 | |
self.author2=author2 | |
def __str__(self): | |
return self.author1 + ' and ' + self.author2 | |
class Book: |