I'm trying to use the 'term' parameter within this function, but PyCharm tells me the parameter 'term' is not used. Is there a special way to do this? Can't seem to find the answer online.
def pinpoint(term, term_to_search):
count = 0
for car in car_inventory:
if car.term == term_to_search:
print(car)
count += 1
if count == 0:
print("No results found.")