コード例 #1
0
ファイル: app.py プロジェクト: NikelausM/sqlite-library
    def prompt_add_book(cls):
        """Prompts user to add a book."""

        name = input("Enter the new book name: ")
        author = input("Enter the new book author: ")

        db.add_book(name, author)