with open("./Files/books.txt", encoding="UTF-8") as file:
    book = file.readline()
    counter = 1
    while book:
        author = file.readline()
        print(str(counter) + ".", book.rstrip(), "-->", author.rstrip())
        counter += 1
        book = file.readline()
4571edf70534156b76000951017d4798d8935f6f
<mask token>

with open('./Files/books.txt', encoding='UTF-8') as file:
    book = file.readline()
    counter = 1
    while book:
        author = file.readline()
        print(str(counter) + '.', book.rstrip(), '-->', author.rstrip())
        counter += 1
        book = file.readline()

with open("./Files/books.txt", encoding="UTF-8") as file:
    book = file.readline()
    counter = 1
    while book:
        author = file.readline()
        print(str(counter) + ".", book.rstrip(), "-->", author.rstrip())
        counter += 1
        book = file.readline()