Untitled
book_name = input() book_count = 0 while True: new_book = input() if new_book == book_name: print(f'You checked {book_count} books and found it.') break elif new_book == 'No More Books': print(f'The book you search is not here!\nYou checked {book_count} books.') break book_count += 1
Leave a Comment