You can figure this one out. Look at line 13. The error mentions ==. Look at the statement with the ==. Does it look right? Since == compares two things, what two things are you comparing? The error message tells you what you are actually comparing, is that what you meant to compare? The function name is search_year, maybe that will give you a hint at what you should change to make that comparison correct.