I'm currently studying with the "Easy Python Textbook". I would like to ask because there was a part of the book that I didn't understand. I want 7 to appear like the following program, but it doesn't work. If there is a person who understands, thank you.

C: \ Users \ admin \ yasashiipython>python eto_input.py
Please enter your birth year in 4 digits: 1991

In the textbook, after entering the source code, "python eto.py" was entered in python eto_input.py and the enter key was pressed, then the year was entered and the enter key was pressed.

Error message
Error message
File "eto_input.py", line2
year = int (year str)
SyntaxError: invalid syntax
year_str = input ('Please enter your year of birth in 4 digits:')
year = int (year_str)
number_of_eto = (year + 8)% 12
print (number_of_eto)

Please describe what you tried for the problem here.

Supplemental information (FW/tool version etc.)