Untitled
unknown
plain_text
a year ago
346 B
6
Indexable
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 += 1Editor is loading...
Leave a Comment