class BookStore:
    noOfBooks=0
    def __init__(self,title,author):
        self.title=title
        self.author=author
        BookStore.noOfBooks += 1
    def bookInfo(self):
        print("Book Title:",self.title)
        print("Book Author:",self.author,"\n")
#create a virtual book store
b1=BookStore("Great Expectations","Charles Dickens")
b2=BookStore("War and Peace","Leo Tolstoy")
b3=BookStore("Middlemarch","George Eliot")
#call member functions for each object
b1.bookInfo()
b2.bookInfo()
b3.bookInfo()
print("BookStore.noOfBooks:",BookStore.noOfBooks)