Search Results: python assign a function to variable