def prompt_read_book(): """ Ask for book name and change it to 'Read' in our list :return: """ name = input('Enter the name of the book you just finished reading: ') database.mark_book_as_read(name)
def prompt_read_book(): """ Get from an input the name of the book you would like to set as read and modify the database. """ name = input('Enter the name of the book you finished reading: ') database.mark_book_as_read(name)
def prompt_read_book(): book_id = int(input("Book ID:").strip()) book = database.mark_book_as_read(book_id) if book['read']: print("Book marked as read") else: print("Book marked as unread") print_book(book_id, book)
def menu(): user_input = input(USER_CHOICE).strip().lower() while user_input != "q": if user_input == "a": database.add_books() elif user_input == "l": reading_list = database.list_all_books() if reading_list: database.list_books(reading_list) else: print("List is empty") elif user_input == "r": database.mark_book_as_read() elif user_input == "d": database.delete_books() else: print("Input is not valid, please enter again") user_input = input(USER_CHOICE).strip().lower()
def prompt_read_book(): name = input('Enter the name of the book you just have read: ') database.mark_book_as_read(name)
def promp_read_book(): # ask for book name and chage it to "read" in our list name = input('Enter the name of the book you just finished reading: ') database.mark_book_as_read(name)
def prompt_mark_book_as_read(): book_name = input("Please type the name of the book you have read: ") database.mark_book_as_read(book_name)
def prompt_read_book(): name = input("Enter the name of book you want to read: ") database.mark_book_as_read(name)
def prompt_read_book(): read_input = input( 'What is the name of the book you would like to mark as read') database.mark_book_as_read(read_input)
def prompt_read_book(): name = input("Enter the name of the book you've read.") database.mark_book_as_read(name)
def prompt_read_books(): # function to return Yes for read books else No name = input("enter name of the book read:") database.mark_book_as_read(name)
def prompt_read_book(): name = input('Please enter name of book you just finished reading: ') database.mark_book_as_read(name,)
def prompt_read_book(): name = input('Enter the Name of the Book, you\'ve just finish Reading : ') database.mark_book_as_read(name)
def prompt_read_book(): title = input('Enter the title of the book you just finished: ') database.mark_book_as_read(title)
def prompt_read_book(): name = input('\nFinished reading a book? Enter its name: ') database.mark_book_as_read(name)
def prompt_read_book(): book_name = input('Enter the book name you just finished reading: ') database.mark_book_as_read(book_name)
def prompt_read_book(): book_name = input('Enter a name of a the book: ') db.mark_book_as_read(book_name)
def prompt_read_book(): name= input('Enter the name of the book you read: ') database.mark_book_as_read(name) print(f"The book, {name} has been updated to status: READ")
def prompt_read_book(): name = input("What is the name of the book that you've finished: ") database.mark_book_as_read(name)
def prompt_read_book(): name = input("Enter the book name you just finished reading") database.mark_book_as_read(name)
def prompt_read_book(): name = input('Enter name of book you just finished reading: ') db.mark_book_as_read(name)
def prompt_read_book(): name = input('Book name: ') database.mark_book_as_read(name)
def prompt_mark_book_as_read(): mark_book_as_read( input('Enter the book from the list which you have already read'))
def prompt_read_book(): """[save the name of the book the user finished reading.] """ name = input('Enter the name of the book you just finished reading: \n') database.mark_book_as_read(name)
def prompt_read_book(): name = input('Enter the name of the book you just finished reading: ') database.mark_book_as_read(name)
def prompt_read_book(): # Ask for name and change the read boolean title = input('Enter the title: ').title() database.mark_book_as_read(title)