Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- correct_book = input()
- input_book = input()
- attempts = 1
- while input_book != correct_book:
- attempts += 1
- input_book = input()
- print(f'Book found! Attempts: {attempts}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement