Untitled
unknown
plain_text
a year ago
327 B
6
Indexable
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