unused search python printing list