Traceback (most recent call last):
File "C:/Users/Анастасия/PycharmProjects/brandnew/
новое.py", line 3, in <module>
text =
book.read().lower() #прочитали его, все буквы привели к строчному виду и сохранили текст в переменную text
File "C:\Python\lib\encodings\
cp1251.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 455: character maps to <undefined>