Untitled
Anonymous
Plain Text
08/07/2024 7:45 PM
327 B
18
Indexable
Never
book_name = input()
book_count = 0
while book_name != 'No More Books':
new_book = input()
if new_book == book_name:
print(f'You checked {book_count} books and found it.')
break
book_count += 1
else:
print(f'The book you search is not here!\nYou checked {book_count} books.')Editor is loading...
Leave a Comment